mirror of https://github.com/explosion/spaCy.git
9ee1c54f40
* Improve tag map initialization and updating Generalize tag map initialization and updating so that the tag map can be loaded correctly prior to loading a `Corpus` with `spacy debug-data` and `spacy train`. * normalize provided tag map as necessary * use the same method for initializing and updating the tag map * Replace rather than update tag map Replace rather than update tag map when loading a custom tag map. Updating the tag map is problematic due to the sorted list of tag names and the fact that the tag map will contain lingering/unwanted tags from the default tag map. * Update CLI scripts * Reinitialize cache after loading new tag map Reinitialize the cache with the right size after loading a new tag map. |
||
---|---|---|
.. | ||
__init__.py | ||
test_analysis.py | ||
test_entity_linker.py | ||
test_entity_ruler.py | ||
test_factories.py | ||
test_functions.py | ||
test_morphologizer.py | ||
test_pipe_methods.py | ||
test_sentencizer.py | ||
test_senter.py | ||
test_simple_ner.py | ||
test_tagger.py | ||
test_textcat.py |