-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spacy V3 decorator string name #6
Comments
Hi, Since I'm new to SpaCy and Python, I'm not sure if this is the correct way to implement it. For Python 3.9 with SpaCy 3.0.3 the following worked for me:
I got on this track with: Language-specific pipeline Is this the right way to use it with SpaCy3? How to use the result for language specific processing? Many thanks and best regards, Cusard |
same problem |
Hello everybody!
The output looks like this:
|
Thanks for sharing the solution. It worked for me too. It will be nice if the project home page had the example update: https://spacy.io/universe/project/spacy-langdetect |
The example provided by @FelixSiegfriedRiedel works for me with v3.3. I've also raised an issue about updating the documentation: explosion/spaCy#11038 |
Hello guys,
With the V3 update when I run the example code it complains:
I figured out that now we have to pass the string name, to
nlp.add_pipe
but how?I've tried
nlp.add_pipe("langdetect")
,nlp.add_pipe("LanguageDetector")
,nlp.add_pipe("languagedetector")
and none of them seems to work.Can you help me with this ?
The text was updated successfully, but these errors were encountered: