Playing with word2vec and reddit data
At the moment there is a heavy dependency on gensim (in fact on the development branch - so as to have the word2vec model included).
Unfortunately getting that to work nicely means getting
- scipy (hency gfortran and a BLAS library)
- numpy
- cython working.. and then installing gensim from the development branch.
You also want to make sure you have good BLAS support in the setup so things run fast.
This code also depends on a few other python libraries gresource, nltk and resource. I have listed dependencies in setup.py but, hmm yeah I havent tested setup.py yet so 'python setup.py install' may not work
Very much a work in progress but currently to use you would
- Install dependencies
- Run python then 'import nltk\n nltk.download()' and use the gui to download wordnet corpus
- download_comments.py
- download_user_comments.py
- create_user_comment_dictionary.py
- train_model.py
- vectorize_users.py