[ 
https://issues.apache.org/jira/browse/OPENNLP-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986769#action_12986769
 ] 

William Colen commented on OPENNLP-90:
--------------------------------------

Can I deprecate the method now? Or we should wait for bigger review?

> Method ChunkerME.topKSequences(List<String>, List<String>) fails with a class 
> cast exception.
> ---------------------------------------------------------------------------------------------
>
>                 Key: OPENNLP-90
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-90
>             Project: OpenNLP
>          Issue Type: Bug
>    Affects Versions: tools-1.5.1-incubating
>            Reporter: William Colen
>            Assignee: William Colen
>             Fix For: tools-1.5.1-incubating
>
>
> The method topKSequences(List<String> sentence, List<String> tags) fails with 
> a class cast exception because the bestSequences method expects an array of 
> String arrays in additionalContext argument, but the topKSequences was 
> setting a array of lists.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to