Closed emotionalsvm closed 2 years ago
I've ran into the same issue using spacy. There seems to be a change to the spacy api in version 3, which was released recently, that is not reflected in cleanNLP yet. As a workaround you may go back to the last major version of spacy. To do that install spacy in a fresh environment using:
pip install 'spacy<3.0.0'
If you want to go back in an existing python environment use --force-reinstall
but I'd advise against it, as it may cause issues with dependencies. Hope this helps.
Just installed cleanNLP but I am having issues using corenlp and spacy. To the best of my knowledge, I have installed the appropriate modules and dependencies. Could anyone please help?
I was able to detect
cleannlp
andstanza
. I also havestanfordnlp
installed.Initialising
corenlp
works without any errors.However, when I try to annotate the un data provided in cleanNLP, I get an error.
As for spacy, I get an error trying to initialise it.