[ 
https://issues.apache.org/jira/browse/OPENNLP-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

William Colen resolved OPENNLP-478.
-----------------------------------

    Resolution: Fixed

Now NameSample creates spans with a default type if the sample was untyped.
                
> NameSample should create typed span
> -----------------------------------
>
>                 Key: OPENNLP-478
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-478
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: Name Finder
>    Affects Versions: tools-1.5.3
>            Reporter: William Colen
>            Assignee: William Colen
>             Fix For: tools-1.5.3
>
>
> NameFinder uses the type from span everywhere. When reading a corpus without 
> type information we should set a default type value instead of leaving it 
> null.
> Leaving it null causes the evaluation listeners and the evaluation itself to 
> fail comparing the predicted values and the expected. Predicted names will 
> always have a type.

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

        

Reply via email to