If you created your component with nlp.create_pipe('name'): remove nlp.create_pipe and call nlp.add_pipe('name') instead.
#10732
-
|
File: nlp.add_pipe(PySBDFactory(nlp)) Error
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @TheContentGym , The |
Beta Was this translation helpful? Give feedback.
Hi @TheContentGym ,
The
nlp.add_pipefunction takes in a factory name (a string). If you're using a custom component, then I recommend looking at this documentation on how to properly make one. Also, next time please format your code in Markdown (use backticks) and paste the full traceback.