spaCy/spacy/tests/doc
Peter Baumgartner 3358fb9bdd
Miscellaneous Minor SpanGroups/DocBin Improvements (#10250)
* MultiHashEmbed vector docs correction

* doc copy span test

* ignore empty lists in DocBin.span_groups

* serialized empty list const + SpanGroups.is_empty

* add conditional deserial on from_bytes

* clean up + reorganize

* rm test

* add constant as class attribute

* rename to _EMPTY_BYTES

* Update spacy/tests/doc/test_span.py

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
2022-02-21 10:24:15 +01:00
..
__init__.py
test_add_entities.py
test_array.py Migrate regression tests into the main test suite (#9655) 2021-12-04 20:34:48 +01:00
test_creation.py
test_doc_api.py Token sent attributes more consistent (#10164) 2022-02-08 08:35:37 +01:00
test_graph.py
test_morphanalysis.py
test_pickle_doc.py
test_retokenize_merge.py
test_retokenize_split.py Migrate regression tests into the main test suite (#9655) 2021-12-04 20:34:48 +01:00
test_span.py Miscellaneous Minor SpanGroups/DocBin Improvements (#10250) 2022-02-21 10:24:15 +01:00
test_to_json.py
test_token_api.py
test_underscore.py