explosion / spaCy

💫 Industrial-strength Natural Language Processing (NLP) in Python
https://spacy.io
MIT License
29.66k stars 4.36k forks source link

Attribute Error: Spacy version 2.3 #11798

Closed AjjuSolanki closed 1 year ago

AjjuSolanki commented 1 year ago

Hello, I am using medspacy with 0.2.0 and spacy 2.3, using for some pattern matching function using regex. Made new component added in pipeline. Throwing an error on line ""Text = doc.text"" "English" object has no attribute "text" Same also, "English" object has no attribute "ents". If anyone could help out, i can also post full code .

Thanks and regards

polm commented 1 year ago

Since this sounds like a usage problem rather than a bug, let me move it to Discussions...