spaCy/spacy/tests/doc
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 Rename "tokens" tests to "doc" 2017-01-11 18:59:01 +01:00
test_add_entities.py Use consistent test names 2017-01-11 19:00:52 +01:00
test_array.py Rename tags to pos in get_doc and allow adding tags to tokens 2017-01-12 11:18:36 +01:00
test_doc_api.py Lowest common ancestor matrix for spans and docs 2017-09-03 12:22:19 -07:00
test_noun_chunks.py Use consistent test names 2017-01-11 19:00:52 +01:00
test_token_api.py Fix test formatting and consistency 2017-01-14 13:41:19 +01:00