A Vagrant environment providing a variety of NLP toolkits, including:
This project is inspired by (Madnani, 2009), particularly the swig-srilm project to provide Python bindings to the SRILM C code.
To install ansible:
sudo pip install ansible --upgrade
Then, inside the repository, run:
vagrant up
You can log into the machine using:
vagrant ssh
and use the installed packages in that environment. Try importing the package in iPython:
$ ipython
In [1]: import srilm
In [2]: srilm.<tab>
srilm.corpusStats srilm.getCorpusPpl srilm.getSentencePpl srilm.getUnigramProb srilm.howManyNgrams srilm.readLM
srilm.deleteLM srilm.getCorpusProb srilm.getSentenceProb srilm.getWordForIndex srilm.initLM
srilm.getBigramProb srilm.getIndexForWord srilm.getTrigramProb srilm.getWordProb srilm.numOOVs