-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 Lemmatizer use in Lesson 2 #3
Comments
thanks for the assistance |
I have issues with lecture 2. nlp = spacy.load("en") it returns an error |
In Spacy version 2.2.3, the parameterless constructor is removed. The code now shows error:
Thanks for the workaround @EdwardJRoss |
change in spacy v3
this is a workaround for spacy v3
|
This seems to not immediately fail: https://issueexplorer.com/issue/fastai/course-nlp/3 |
In
2-svd-nmf-topic-modeling.ipynb
under the sectionSpacy
you use:Unfortunately this creates an empty lemmatizer that will just always return what's input, and may give the wrong impression.
Instead you should use something like:
Also the command to download the English model at the start of this section is written as:
spacy -m download en_core_web_sm
when it should either be
python -m spacy download en_core_web_sm
orspacy download en_core_web_sm
Thanks
The text was updated successfully, but these errors were encountered: