How to reproduce the behaviour
When I am trying the below code
import en_core_web_sm
nlp = en_core_web_sm.load()
doc = nlp("my sentence")
for token in doc:
morph = nlp.vocab.morphology.tag_map[token.tag_]
I am getting the following spacy error
AttributeError: 'spacy.morphology.Morphology' object has no attribute 'tag_map'
Your Environment
How to reproduce the behaviour
When I am trying the below code
I am getting the following spacy error
AttributeError: 'spacy.morphology.Morphology' object has no attribute 'tag_map'Your Environment
spacy==3.2.4
spacy-legacy==3.0.9
spacy-loggers==1.0.2
en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm- 3.2.0/en_core_web_sm-3.2.0-py3-none-any.whl