Installation
In order to install MkDocs you'll need Python installed on your system, as well as the Python package manager, pip. You can check if you have these already installed like so:
$ python --version
Python 2.7.2
$ pip --version
pip 1.5.2
Opinator supports Python 2.6, 2.7.
Download Project
Download the Opinator Server project from Github.
You can also use git to clone the repo to your local system using:
$ git clone https://github.com/vivekanand1101/opinator-coreserver.git
$ cd opinator-coreserver
Install Dependencies
Run the following codes to install all dependencies:
$ sudo bash install.sh
$ sudo pip install -r requirements.txt
$ sudo python setup.py install
You need to download nltk_data and stanford corenlp package:
You can also download nltk_data as follow:
$ python
> import nltk
> nltk.download()
After the tar files have been downloaded, you can extract and copy the files to their specifiy directory using:
$ tar -xzvf ../Downloads/nltk_data.tar.gz -C ../
$ tar -xzvf ../Downloads/stanford-corenlp-full-2015-04-20.tar.gz -C analyzer/