Installation

Prerequisites

To install NLTK Server you will need the following:

  • Python 2.7.x
  • Pip

Read more on installing PIP here. https://pip.pypa.io/en/latest/installing.html

How to Install

  1. Clone the NLTK server repository.
git clone https://github.com/preems/nltk-server

Or download latest Zip from Github:

  1. Install dependencies from pip.
cd nltk-server
pip install -r requirements.txt

Some linux distros might require to use sudo.

  1. Install JRE ( only required for Stanford NER ).

Installation of JRE is specific to Operating system your running on. For Ubuntu, it can be installed by running following commands

$ sudo apt-get update
$ sudo apt-get install default-jre

Run NLTK Server

python wsgi.py