[
https://issues.apache.org/jira/browse/OPENNLP-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986757#action_12986757
]
William Colen commented on OPENNLP-89:
--------------------------------------
I found a bug while implementing the unit tests. The method
topKSequences(List<String> sentence, List<String> tags) fails with a class cast
exception because the bestSequences method expects a array of String arrays in
additionalContext method, but the topKSequences was setting a array of lists.
Will open an issue for that.
> ChunkerME needs unit tests
> --------------------------
>
> Key: OPENNLP-89
> URL: https://issues.apache.org/jira/browse/OPENNLP-89
> Project: OpenNLP
> Issue Type: Improvement
> Components: Chunker
> Affects Versions: tools-1.5.1-incubating
> Reporter: William Colen
> Assignee: William Colen
> Fix For: tools-1.5.1-incubating
>
>
> The class ChunkerME has no tests. Create some JUnit tests for it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.