edu.stanford.nlp.tagger.maxent
Class Test

java.lang.Object
  extended by edu.stanford.nlp.tagger.maxent.Test

public class Test
extends java.lang.Object

This class is used from the command line to evaluate a trained POS tagging model over test data. Usage:

java edu.stanford.nlp.tagger.maxent.Test -model <modelPrefix> -file <testfile> 
You can use the same properties file as for training (c.f. Train) if you pass it in with the "-props" argument. The only important arguments for testing (besides "model" and "file") are "debug" and "debugPrefix". See the properties file documentation for details. Test file should be one sentence per line, tokenized in Penn Treebank style.


Constructor Summary
Test()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Test

public Test()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception