Closed BonJovi1 closed 1 year ago
Hmm, based on the stack trace, this looks like an error caused by the spacy dependency. @tisjune, if you have the time, can you take a look at this and advise on how we should update the code?
Meanwhile, @BonJovi1, you can resolve this issue locally by uninstalling spacy and reinstalling spacy == 2.3.1. Make sure to re-download en_core_web_sm after this. I've tested this and it resolves the issue.
@BonJovi1 Looks like the problem first arises with the Spacy 3.2.0 release, so any release <=3.1.4 will work. Thanks for raising the issue -- we'll release a fix for this soon (or feel free to make a PR yourself).
Hi Caleb @calebchiam, thanks so much! Installing spacy == 2.3.1
did the trick and I'm now able to add dependency parses! :)
Thanks a bunch, Abhinav
Great to hear! We'll keep this issue open until we resolve it properly on our end.
Hi Caleb @calebchiam,
I'm trying to perform politeness prediction using the example notebook given here. I run into some errors while adding dependency parses. Currently, I'm doing
And then when I do
It gives me the following error:
Although, when I do the
transform
usingPolitenessStrategies
, that works!!This works perfectly. Only the
TextParser
is giving errors. Any idea what the issue might be? Would be grateful if you could kindly have a look!Thanks a lot, Abhinav