edu.stanford.nlp.tagger.maxent
Class Train
java.lang.Object
|
+--edu.stanford.nlp.tagger.maxent.Train
- public class Train
- extends Object
This class is used to train a POS tagger. The main method takes one
argument.
The argument is the name of the training file. The file should be in the
following format:
one word and one tag per line separated by a space or a tab.
Each sentence should end in an EOS word-tag pair.
Method Summary |
static void |
main(String[] args)
Specify where to read data from, and whether to use iis or cg |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(String[] args)
- Specify where to read data from, and whether to use iis or cg
- Parameters:
args
- filename [-o savePath]
Stanford NLP Group