William & Jorn,

I'm getting null pointer exceptions now when running the evaluator for the name finder. The "Testing..." comment line is from the batch file I'm using... everything after that is from the application run with "%JCMD% TokenNameFinderEvaluator -encoding utf8 -model enNameFinder.model -data testa.txt"

----
Testing... on eng.testa
Loading Token Name Finder model ... done (0.419s)
Exception in thread "main" java.lang.NullPointerException
at opennlp.tools.util.eval.Evaluator.notifyMissclassified(Evaluator.java
:114)
at opennlp.tools.util.eval.Evaluator.evaluateSample(Evaluator.java:70)
        at opennlp.tools.util.eval.Evaluator.evaluate(Evaluator.java:86)
at opennlp.tools.cmdline.namefind.TokenNameFinderEvaluatorTool.run(Token
NameFinderEvaluatorTool.java:104)
        at opennlp.tools.cmdline.CLI.main(CLI.java:191)
current: 1.0 sent/s avg: 1.0 sent/s total: 1 sent
current: 0.0 sent/s avg: 0.5 sent/s total: 1 sent
current: 0.0 sent/s avg: 0.3 sent/s total: 1 sent
current: 0.0 sent/s avg: 0.2 sent/s total: 1 sent
current: 0.0 sent/s avg: 0.2 sent/s total: 1 sent
current: 0.0 sent/s avg: 0.2 sent/s total: 1 sent
current: 0.0 sent/s avg: 0.1 sent/s total: 1 sent
current: 0.0 sent/s avg: 0.1 sent/s total: 1 sent
current: 0.0 sent/s avg: 0.1 sent/s total: 1 sent

----
James

Reply via email to