All python
commands are for python 2 only.
- Install libLBFGS
git clone https://github.com/chbrown/liblbfgs.git
cd liblbfgs
./configure
make
sudo make install
-
Install crfsuite
- http://www.chokkan.org/software/crfsuite/
- Download the 64 bit linux binary
- Extract the tar ball with
tar xvfz crfsuite-0.12-x86_64.tar.gz
- Run the following
./configure
make
sudo make install
- Install the Python wrapper for crfsuite
cd swig/python
./prepare --swig
python setup.py build_ext
python setup.py install
- Installing tweedr
make sure mySQL is installed
I will attach requirements.txt seperately
git clone https://github.com/dssg/tweedr.git
sudo pip install -r requirements.txt
Edit the setup.py with your preferred text editor and change url = 'http://ark-tweet-nlp.googlecode.com/files/ark-tweet-nlp-0.3.2.tgz'
to url = 'https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ark-tweet-nlp/ark-tweet-nlp-0.3.2.tgz'
python setup.py install
python setup.py download_ext