mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
9bc4cc1352
* Test on #2396: bug in Doc.get_lca_matrix() * reimplementation of Doc.get_lca_matrix(), (closes #2396) * reimplement Span.get_lca_matrix(), and call it from Doc.get_lca_matrix() * tests Span.get_lca_matrix() as well as Doc.get_lca_matrix() * implement _get_lca_matrix as a helper function in doc.pyx; call it from Doc.get_lca_matrix and Span.get_lca_matrix * use memory view instead of np.ndarray in _get_lca_matrix (faster) * fix bug when calling Span.get_lca_matrix; return lca matrix as np.array instead of memoryview * cleaner conditional, add comment |
||
---|---|---|
.. | ||
contributors | ||
ISSUE_TEMPLATE | ||
CONTRIBUTOR_AGREEMENT.md | ||
ISSUE_TEMPLATE.md | ||
lock.yml | ||
no-response.yml | ||
PULL_REQUEST_TEMPLATE.md |