|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.tagger.maxent.Test
public class Test
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 |
---|
public Test()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |