Due to the version change of spacy library. You may find many issue like require dependency or cannot convert negative value to uint64_t.My solution to all these problems are change the lda2vec/lda2vec/preprocess.py, first import spacy at the top, then change if nlp == None: nlp = English() to:
if nlp == None: nlp = spacy.load('en')
unindenting the code at https://github.com/cemoody/lda2vec/blob/master/lda2vec/preprocess.py#L85-L88 by one level.
Then set spacy to version 1.9.0
and then do
python -m spacy download en
Due to the version change of spacy library. You may find many issue like require dependency or cannot convert negative value to uint64_t.My solution to all these problems are change the lda2vec/lda2vec/preprocess.py, first
import spacy
at the top, then changeif nlp == None: nlp = English()
to:if nlp == None: nlp = spacy.load('en')
unindenting the code at https://github.com/cemoody/lda2vec/blob/master/lda2vec/preprocess.py#L85-L88 by one level. Then set spacy to version 1.9.0 and then do python -m spacy download en