W108 purpose (warning about no POS annotation) #6848
-
Is the following warning meant to be triggered only upon inferring the user wants to access the
Your Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This warning means that you have a lemmatizer that won't work in your pipeline, so you either want to re-enable the components that provide In the Or did you run into this error with the default |
Beta Was this translation helpful? Give feedback.
This warning means that you have a lemmatizer that won't work in your pipeline, so you either want to re-enable the components that provide
pos
or you want to remove the lemmatizer. The lemmatizer will still run, but it won't provide useful lemmas (just lowercased token texts).In the
en
pipelines, you need to enable both thetagger
and theattribute_ruler
components to providepos
for the lemmatizer. In v2 the lemmas used to be assigned by the tagger, so this kind of inter-dependency between the pipeline components in v3 is new and potentially confusing, so we added a warning when we know the lemmatizer isn't going to work.Or did you run into this error with the default
en_core_web_sm
p…