opennlp-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Colen (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (OPENNLP-463) Docs incosistent with latest code
Date Tue, 13 Mar 2012 15:28:50 GMT


William Colen resolved OPENNLP-463.

    Resolution: Fixed

I could reproduce the error. To fix it I added some null verifications. Also included a new
unit test.
Thank you Jim for reporting. Can you please check if it is working? If yes you can close the
> Docs incosistent with latest code
> ---------------------------------
>                 Key: OPENNLP-463
>                 URL:
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Name Finder
>    Affects Versions: tools-1.5.2-incubating, tools-1.5.3
>         Environment: Ubuntu 11.10 x64  Java 1.7  
>            Reporter: Jim Piliouras
>            Assignee: William Colen
>            Priority: Minor
>             Fix For: tools-1.5.3
>   Original Estimate: 1h
>  Remaining Estimate: 1h
> The docs state that one can pass null resources to the TokenNameFinderCrossValidator
but that is not the case...At the very least one has to pass an empty Map rather than null,
otherwise there will be a NPE right after the first 100 iterations of training finish! Passing
an empty map does the trick...Thanks William! 
> At the very least you can add a null-check and create an empty map accordingly rather
than letting the user do it...  

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