Hi,
I'm trying to run the sense2vec.teach recipe as described on the github repo (GitHub - explosion/sense2vec: 🦆 Contextually-keyed word vectors), but get the following error.
> prodigy sense2vec.teach tech_phrases ./s2v_reddit_2015_md.tar.gz --seeds "natural language processing, machine learning, artificial intelligence"
> Traceback (most recent call last):
> File "/Users/oliver/opt/anaconda3/envs/prodigy/lib/python3.7/runpy.py", line 183, in _run_module_as_main
> mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
> File "/Users/oliver/opt/anaconda3/envs/prodigy/lib/python3.7/runpy.py", line 142, in _get_module_details
> return _get_module_details(pkg_main_name, error)
> File "/Users/oliver/opt/anaconda3/envs/prodigy/lib/python3.7/runpy.py", line 109, in _get_module_details
> __import__(pkg_name)
> File "/Users/oliver/opt/anaconda3/envs/prodigy/lib/python3.7/site-packages/prodigy/__init__.py", line 7, in <module>
> from . import recipes
> File "/Users/oliver/opt/anaconda3/envs/prodigy/lib/python3.7/site-packages/prodigy/recipes/__init__.py", line 4, in <module>
> from ..deprecated import recipes # noqa
> File "/Users/oliver/opt/anaconda3/envs/prodigy/lib/python3.7/site-packages/prodigy/deprecated/recipes.py", line 15, in <module>
> from ..models.matcher import PatternMatcher
> File "/Users/oliver/opt/anaconda3/envs/prodigy/lib/python3.7/site-packages/prodigy/models/__init__.py", line 1, in <module>
> from .ner import EntityRecognizer, merge_spans # noqa: F401
> File "cython_src/prodigy/models/ner.pyx", line 7, in init prodigy.models.ner
> ModuleNotFoundError: No module named 'spacy.gold'
Is this maybe caused by the renaming of spacy.gold to spacy.train in v3 (as described here: https://spacy.io/usage/v3#migrating-gold)?
Best,
Oli