You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Jim Piliouras (Created) (JIRA)" <ji...@apache.org> on 2012/03/12 19:32:37 UTC

[jira] [Created] (OPENNLP-466) TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener...

TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener... 
---------------------------------------------------------------------------------

                 Key: OPENNLP-466
                 URL: https://issues.apache.org/jira/browse/OPENNLP-466
             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
             Fix For: tools-1.5.3


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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OPENNLP-466) TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener...

Posted by "Jim Piliouras (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENNLP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228524#comment-13228524 ] 

Jim Piliouras commented on OPENNLP-466:
---------------------------------------

Hmmm, the only major thing that i see different from a quick look is 
that you 're passing your own OutputStream (byte[]) instead of using 
System.err which is the default one.

also the first assert statement checks if the size of the stream is > 0. 
now, that is not very helpful i think. It will always be > 0 even if 
only the first character of the maxent "initialisation greeting" gets 
printed.

I just noticed that you're also creating your training parameters via 
Model.util which i've never heard!!!
I'm just calling the default constructor of TrainingParameters.

the code is as follows (suspects in 
bold):-------------------------------------------------------------------------------

public String cross-validate(String fname, int kFolds){

FileInputStream sampleDataIn = new FileInputStream(fname);
ObjectStream<NameSample> sampleStream = new NameSampleDataStream(
                                                                               new PlainTextByLineStream(
                                                                               sampleDataIn.getChannel(), "UTF-8"));
TokenNameFinderCrossValidator judge =
new TokenNameFinderCrossValidator("en", null, *new 
TrainingParameters()*, null, *new HashMap()*, *new 
NameEvaluationErrorListener()*);

judge.evaluate(sampleStream, kFolds);
  FMeasure result = evaluator.getFMeasure();
  return result.toString();

}


Do you think the TrainingParameters() could be the problem? I'll have a 
look in the Model.util class to see what's what...

Jim




                
> TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener... 
> ---------------------------------------------------------------------------------
>
>                 Key: OPENNLP-466
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-466
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (OPENNLP-466) TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener...

Posted by "Joern Kottmann (Reopened) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENNLP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joern Kottmann reopened OPENNLP-466:
------------------------------------

      Assignee: Joern Kottmann  (was: William Colen)
    
> TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener... 
> ---------------------------------------------------------------------------------
>
>                 Key: OPENNLP-466
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-466
>             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: Joern Kottmann
>              Labels: cross-validation
>   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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OPENNLP-466) TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener...

Posted by "Jim Piliouras (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENNLP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228610#comment-13228610 ] 

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...

Jim

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



                
> TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener... 
> ---------------------------------------------------------------------------------
>
>                 Key: OPENNLP-466
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-466
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OPENNLP-466) TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener...

Posted by "Joern Kottmann (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENNLP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228654#comment-13228654 ] 

Joern Kottmann commented on OPENNLP-466:
----------------------------------------

Changed resolution to "Not A Problem" since we did not fixed a bug with this issue, therefore it should not show up in our release notes for 1.5.3.
                
> TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener... 
> ---------------------------------------------------------------------------------
>
>                 Key: OPENNLP-466
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-466
>             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
>   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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OPENNLP-466) TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener...

Posted by "William Colen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENNLP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228514#comment-13228514 ] 

William Colen commented on OPENNLP-466:
---------------------------------------

Hi Jim,

I created a unit test that reproduces what you described, but it is working OK. You will need to detail it so I can reproduce the error.

You can view the test named testWithNameEvaluationErrorListener here: http://svn.apache.org/viewvc/opennlp/trunk/opennlp-tools/src/test/java/opennlp/tools/namefind/TokenNameFinderCrossValidatorTest.java?revision=1300236&view=markup

Thank you
                
> TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener... 
> ---------------------------------------------------------------------------------
>
>                 Key: OPENNLP-466
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-466
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (OPENNLP-466) TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener...

Posted by "Jim Piliouras (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENNLP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Piliouras closed OPENNLP-466.
---------------------------------

    Resolution: Fixed

This turned out to be an external issue and NOT and openNLP related one. It is already known that when dealing with sdtin & sdtout from leiningen (Clojure project management command-line tool) you have to trampoline your code so it doesn't get nested inside leiningen's VM...i am not sure whether the issue has been resolved in lein2 which is still in a preview release...Thanks for your patience and i do apologise if i wasted some...

Jim
                
> TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener... 
> ---------------------------------------------------------------------------------
>
>                 Key: OPENNLP-466
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-466
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OPENNLP-466) TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener...

Posted by "Jim Piliouras (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENNLP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228586#comment-13228586 ] 

Jim Piliouras commented on OPENNLP-466:
---------------------------------------

Ok i see...thanks for trying anyway

I'm starting to get increasingly suspicious about the 
NameEvaluationErrorListener's default constructor
which accepts the error stream for output (System.err)...the way the 
program hangs is just plain weird...one could say that it doesn't 
"display stuff" rather than "hangs"...of course the argument then is 
that the method would at least return something... of the top of my head 
i can try passing System.out instead of System.err and see what happens...

Should i close the issue and reopen in case i find something else?

Jim




                
> TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener... 
> ---------------------------------------------------------------------------------
>
>                 Key: OPENNLP-466
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-466
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OPENNLP-466) TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener...

Posted by "William Colen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENNLP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228603#comment-13228603 ] 

William Colen commented on OPENNLP-466:
---------------------------------------

While testing I tried the constructors of NameEvaluationErrorListener, passing nothing, a System.err and a my own output stream. No errors.
You can leave the issue open until you figure out what is going on.
                
> TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener... 
> ---------------------------------------------------------------------------------
>
>                 Key: OPENNLP-466
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-466
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OPENNLP-466) TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener...

Posted by "William Colen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENNLP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228575#comment-13228575 ] 

William Colen commented on OPENNLP-466:
---------------------------------------

Hi Jim,

I tried your code, and it is not causing any error with the corpus I have. Even using an empty TrainingParameters.

Maybe it is something related to your training data.

If you like adventures you should try to debug the code and check where exactly is the problem.
                
> TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener... 
> ---------------------------------------------------------------------------------
>
>                 Key: OPENNLP-466
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-466
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (OPENNLP-466) TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener...

Posted by "Joern Kottmann (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENNLP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joern Kottmann closed OPENNLP-466.
----------------------------------

       Resolution: Not A Problem
    Fix Version/s:     (was: tools-1.5.3)
         Assignee: William Colen  (was: Joern Kottmann)
    
> TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener... 
> ---------------------------------------------------------------------------------
>
>                 Key: OPENNLP-466
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-466
>             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
>   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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (OPENNLP-466) TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener...

Posted by "William Colen (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENNLP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Colen reassigned OPENNLP-466:
-------------------------------------

    Assignee: William Colen
    
> TokenNameFinderCrossValidator hangs when passed a NameEvaluationErrorListener... 
> ---------------------------------------------------------------------------------
>
>                 Key: OPENNLP-466
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-466
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira