Skip navigation links

Package edu.stanford.nlp.maxent

This package deals with defining and solving maximum entropy problems.

See: Description

Package edu.stanford.nlp.maxent Description

This package deals with defining and solving maximum entropy problems. In the future it will have facilities for easier definition of maxent problems.

If you are new to this package, take a look at the following classes:

Possibly the simplest way to use it is to fill up a Type2Dataset with Type2Datum objects (a Type2Datum is essentially a map from classes into sets of feature values), and then to use LinearType2Classifier.trainClassifier() on your Type2Dataset to train a classifier. You can then use the classOf(), scoresOf(), and justificationOf() methods of the resulting LinearType2Classifier object.
Skip navigation links

Stanford NLP Group