mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-29 11:26:28 +03:00
0e2b7fb28b
* Remove imports marked as v2 leftovers There are a few functions that were in `spacy.util` in v2, but were moved to Thinc. In v3 these were imported in `spacy.util` so that code could be used unchanged, but the comment over them indicates they should always be imported from Thinc. This commit removes those imports. It doesn't look like any DeprecationWarning was ever thrown for using these, but it is probably fine to remove them anyway with a major version. It is not clear that they were widely used. * Import fix_random_seed correctly This seems to be the only place in spaCy that was using the old import. |
||
---|---|---|
.. | ||
__init__.py | ||
test_analysis.py | ||
test_annotates_on_update.py | ||
test_attributeruler.py | ||
test_edit_tree_lemmatizer.py | ||
test_entity_linker.py | ||
test_entity_ruler.py | ||
test_functions.py | ||
test_initialize.py | ||
test_lemmatizer.py | ||
test_models.py | ||
test_morphologizer.py | ||
test_pipe_factories.py | ||
test_pipe_methods.py | ||
test_sentencizer.py | ||
test_senter.py | ||
test_span_ruler.py | ||
test_spancat.py | ||
test_tagger.py | ||
test_textcat.py | ||
test_tok2vec.py |