Open WHJTC opened 6 years ago
Hi!
Seems like in the version I was using before, there is this key in nlp.entity.cfg for getting all the possible entities. But it was removed in later versions. I have modified the code so it works with the latest spaCy. Let me know if it works. Thanks!
Dear author,
Traceback (most recent call last): File "prepro.py", line 107, in
vocab_ent = [''] + nlp.entity.cfg[u'actions'][1]
KeyError: 'actions'
I tried several versions of spacy(1.10.1, 2.0, 1.8, 1.7.5), but still got this error
thanks!