Twitter user classification tutorial at PyCon France 2016
Setting up:
-
Clone this repo using
git clone https://github.com/dsquareindia/twitter-user-classification.git
-
Install
virtualenv
usingpip install virtualenv
-
Install all requirements in the virtualenv
cd twitter-user-classification virtualenv gensim source gensim/bin/activate pip install -r REQUIREMENTS.txt
-
Download pre-trained stanford GloVe vectors from here
-
Download nltk data using
python -m nltk.downloader corpus
-
Unzip
pycon_dict_pkl.zip
to extractpycon_dict.pkl
which is our toy dataset. -
Twitter app authentication is only needed for final function concerning real-time classification