mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 18:36:36 +03:00
cae4457c38
* Add logic to filter out warning IDs via environment variable Usage: SPACY_WARNING_EXCLUDE=W001,W007 * Add warnings for empty vectors * Add warning if no word vectors are used in .similarity methods For example, if only tensors are available in small models – should hopefully clear up some confusion around this * Capture warnings in tests * Rename SPACY_WARNING_EXCLUDE to SPACY_WARNING_IGNORE |
||
---|---|---|
.. | ||
__init__.py | ||
test_similarity.py | ||
test_vectors.py |