spaCy/spacy/tests/spans
Eric Zhao d61c117081 Lowest common ancestor matrix for spans and docs
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.
2017-09-03 12:22:19 -07:00
..
__init__.py add __init__.py to empty package dirs 2016-03-14 11:28:03 +01:00
test_merge.py Add option to use label karg to determine ent_type in doc.merge 2017-03-28 23:35:03 -07:00
test_span.py Lowest common ancestor matrix for spans and docs 2017-09-03 12:22:19 -07:00