opennlp-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Piliouras (Commented) (JIRA)" <>
Subject [jira] [Commented] (OPENNLP-466) TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener...
Date Tue, 13 Mar 2012 19:12:40 GMT


Jim Piliouras commented on OPENNLP-466:

OK problem solved...

I'm terribly embarrassed to say that this is not an openNLP issue but a 
Clojure issue! In fact, not even a Clojure issue - it is a leiningen 
issue! it turns out that if i use "trampoline" to run my code in a 
separate VM instead of nesting it inside leiningen's, output from 
System.err is redirected appropriately to my terminal and everything 
shoes as expected... I was right to think that it had somethign to do 
with sdtin and sdtout!!! I do apologise for any time wasted on this... I 
will close the issue immediately...


p.s: William i owe you a time you're in Manchester drop me 
an email...(not joking :-) )

> TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener... 
> ---------------------------------------------------------------------------------
>                 Key: OPENNLP-466
>                 URL:
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: Name Finder
>    Affects Versions: tools-1.5.3
>         Environment: ubuntu 11.10 x64 Java 1.7 update 3
>            Reporter: Jim Piliouras
>            Assignee: William Colen
>              Labels: cross-validation
>             Fix For: tools-1.5.3
>   Original Estimate: 2h
>  Remaining Estimate: 2h
> TokenNameFinderCrossValidator works fine if passed null or any other listener except
a "NameEvaluationErrorListener", for  the l"listeners" parameter (last vararglist parameter
in the constructor)...I have tested it with DetailedFMeasureListener and null and it works
fine. When trying to pass an array with the 2 listeners i want (DetailedFMeasureListener,
NameEvaluationErrorListener) it just hangs after the processing the last partition of data,
rather than showing the F-score! It is not a show stopper because i can simply pass null and
get my F-score, but it would be nice if could see the misclassifications as well...

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message