edu.stanford.nlp.tagger.maxent
Class MaxentTagger

java.lang.Object
  |
  +--edu.stanford.nlp.tagger.maxent.MaxentTagger

public class MaxentTagger
extends Object

This is the maximum entropy tagger class has methods for training, saving, tagging sentences etc.


Constructor Summary
MaxentTagger()
           
 
Method Summary
 void read(String filename)
          Read saved tagger parameters and load them
 void train(String filename)
          Train a tagger using a training corpus stored in filename.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxentTagger

public MaxentTagger()
Method Detail

train

public void train(String filename)
Train a tagger using a training corpus stored in filename. The format of the file is one word and tag per line. Each sentence should end in EOS EOS word-tag pair.


read

public void read(String filename)
Read saved tagger parameters and load them



Stanford NLP Group