Welcome to NLTK-Trainer’s documentation!

NLTK-Trainer is a set of Python command line scripts for natural language processing. With these scripts, you can do the following things without writing a single line of code:

  1. train NLTK based models
  2. evaluate pickled models against a corpus
  3. analyze a corpus

These scripts are Python 2 & 3 compatible and work with NLTK 2.0.4 and higher.


The scripts can be downloaded from nltk-trainer on github.


Python 3 Text Processing with NLTK 3 Cookbook

Python 3 Text Processing with NLTK 3 Cookbook contains many examples for training NLTK models with & without NLTK-Trainer.

Demos and APIs

Nearly all the models that power the text-processing.com NLTK demos and NLP APIs have been trained using NLTK-Trainer.

Indices and tables