mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 10:26:35 +03:00
d61c117081
Added functionality for spans and docs to get lowest common ancestor matrix by simply calling: doc.get_lca_matrix() or doc[:3].get_lca_matrix(). Corresponding unit tests were also added under spacy/tests/doc and spacy/tests/spans. Designed to address: https://github.com/explosion/spaCy/issues/969. |
||
---|---|---|
.. | ||
__init__.py | ||
test_merge.py | ||
test_span.py |