Source

nltk-trainer /

Filename Size Date modified Message
docs
nltk_trainer
tests
10 B
46 B
11.1 KB
1.3 KB
3.2 KB
3.8 KB
6.7 KB
3.5 KB
5.4 KB
2.3 KB
6.2 KB
2.0 KB
52 B
1.2 KB
2.8 KB
7.1 KB
16.5 KB
10.6 KB
3.1 KB

NLTK Trainer

NLTK Trainer exists to make training and evaluating NLTK objects as easy as possible.

Requirements

You must have Python >=2.6 (but not 3.x) with argparse and NLTK 2.0 installed. NumPy, SciPy, and megam are recommended for training Maxent classifiers. To use the sklearn classifiers, you must also install scikit-learn.

If you want to use any of the corpora that come with NLTK, you should install the NLTK data.

Documentation

Documentation can be found at nltk-trainer.readthedocs.org (you can also find these documents in the docs directory. Many of the scripts are covered in Python 3 Text Processing with NLTK 3 Cookbook, and every script provides a --help option that describes all available parameters.