You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the hacker_news data/preprocess.py file I added the following:
import sys
sys.path.append('./lib')
In the hacker_news lda2vec module in /lib , I added the following to preprocess.py:
import spacy
spacy.load('en')
from spacy.lang.en import English
# from spacy.en import English
In my python environment I did the following:
python -m spacy download en
Note that pandas is a requirement.
Then, in lda2vec/exampels/hacker_news you can run python ./data/preprocess.py
Will update if I get everything else working.
The text was updated successfully, but these errors were encountered:
To get preprocess.py running for Hacker News, I did the following from the lda2vec root:
In the hacker_news data/preprocess.py file I added the following:
In the hacker_news lda2vec module in /lib , I added the following to
preprocess.py
:In my python environment I did the following:
Note that pandas is a requirement.
Then, in lda2vec/exampels/hacker_news you can run
python ./data/preprocess.py
Will update if I get everything else working.
The text was updated successfully, but these errors were encountered: