mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-24 15:47:33 +03:00
* 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. |
||
---|---|---|
.. | ||
project | ||
__init__.py | ||
_util.py | ||
convert.py | ||
debug_data.py | ||
debug_model.py | ||
download.py | ||
evaluate.py | ||
info.py | ||
init_model.py | ||
package.py | ||
pretrain.py | ||
profile.py | ||
train.py | ||
validate.py |