add_pipe not working with "en_core_web_sm" #11434
Unanswered
arditobryan
asked this question in
Help: Coding & Implementations
Replies: 1 comment
-
It looks like there are a couple of things that are kind of mixed up here. First, I'm not sure what you mean when you say "disable doesn't work",
What's happening in your sample code is that your new component is disabled because it has the same name as the old component. I think this is what you want to do (basically, just remove
If that isn't what you were trying to do, just let us know. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have tried to use my own lemmatizer on en_core_web_sm:
If I look at the nlp.pipe_names output:
The lemmatizer has not been added: I tried with nlp = English() and works.
Another issue, I had to use nlp.remove_pipe("lemmatizer") because disable was not working.
Beta Was this translation helpful? Give feedback.
All reactions