edu.stanford.nlp.ie.hmm
Class Trainer

java.lang.Object
  |
  +--edu.stanford.nlp.ie.hmm.Trainer

public class Trainer
extends Object

Trains HMM and saves it as a serialized object. Gives the file the name targetField.hmm or the supplied name.


Method Summary
static void main(String[] args)
          This is a command line utility that builds a serialized extractor for a field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
This is a command line utility that builds a serialized extractor for a field.

Parameters:
args - The usage is java edu.stanford.nlp.ie.hmm.Trainer trainingFile targetField [hmmFile]
It saves the built hmm in a file targetField.hmm unless the third parameter is supplied.


Stanford NLP Group