[
https://issues.apache.org/jira/browse/OPENNLP-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
William Colen closed OPENNLP-90.
--------------------------------
Resolution: Fixed
Bug fixed. Will open a new Jira to deprecate the List methods in Chunker
> 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.