I was following along with this video, trying to get my own set of terms for a slightly different vector space. I did everything the same, but when I ran the following line:
prodigy terms.teach symptoms_seeds en_vectors_web_lg --seeds starter_symptoms.txt
I get the following error output:
ℹ Initializing with 8 seed terms from starter_symptoms.txt Traceback (most recent call last): File "/Users/strickvl/opt/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/Users/strickvl/opt/anaconda3/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/Users/strickvl/opt/anaconda3/lib/python3.7/site-packages/prodigy/__main__.py", line 60, in <module> controller = recipe(*args, use_plac=True) File "cython_src/prodigy/core.pyx", line 300, in prodigy.core.recipe.recipe_decorator.recipe_proxy File "/Users/strickvl/opt/anaconda3/lib/python3.7/site-packages/plac_core.py", line 367, in call cmd, result = parser.consume(arglist) File "/Users/strickvl/opt/anaconda3/lib/python3.7/site-packages/plac_core.py", line 232, in consume return cmd, self.func(*(args + varargs + extraopts), **kwargs) File "/Users/strickvl/opt/anaconda3/lib/python3.7/site-packages/prodigy/recipes/terms.py", line 58, in teach nlp.vocab[s] File "vocab.pyx", line 249, in spacy.vocab.Vocab.__getitem__ File "lexeme.pyx", line 47, in spacy.lexeme.Lexeme.__init__ File "vocab.pyx", line 166, in spacy.vocab.Vocab.get_by_orth File "strings.pyx", line 136, in spacy.strings.StringStore.__getitem__ KeyError: "[E018] Can't retrieve string for hash '4035656307355538346'. This usually refers to an issue with the `Vocab` or `StringStore`."
I'm not quite sure how to fix this. Any pointers? Am I doing something wrong? I'm following exactly as @ines did it in the video...