huggingface / neuralcoref

✨Fast Coreference Resolution in spaCy with Neural Networks
https://huggingface.co/coref/
MIT License
2.84k stars 474 forks source link

Unknown morphological feature: 'Person' #284

Closed viva2202 closed 2 years ago

viva2202 commented 3 years ago

Hey I'm using

====================== Installed models (spaCy v2.2.0) ====================== ℹ spaCy installation: C:\Users\Admin-vviellieber.conda\envs\untitled\lib\site-packages\spacy

TYPE NAME MODEL VERSION package en-core-web-sm en_core_web_sm 2.2.0 ✔

and when

import en_core_web_sm
nlp = en_core_web_sm.load()

example_doc = nlp("There is a break in connectivity frequently with the audio on Bluetooth.")

and many other input sentences I receive this error:

ValueError: [E167] Unknown morphological feature: 'Person' (2313063860588076218). This can happen if the tagger was trained with a different set of morphological features. If you're using a pretrained model, make sure that your models are up to date: python -m spacy validate

and there is en_core_web_sm version the same as spaCy is.

When I use some other sentences like

doc = nlp("The customer service was terrible.")

it is working.

Can someone help me to solve this?

svlandeg commented 3 years ago

Can you provide the output of running these commands?

python -m spacy validate
python -m spacy info --markdown
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.