[
https://issues.apache.org/jira/browse/OPENNLP-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071450#comment-13071450
]
James Kosin commented on OPENNLP-239:
-------------------------------------
Okay,
I found one problem, outside of the multiple copies.
Any new dictionary item setting the case sensitivity will be voided by the
orignal dictionary setting.
<code>
if (isCaseSensitive) {
result = this.stringlist.equals(other.getStringList());
} ...
</code>
Ignores the case setting for other and will result in different results
depending on the order of the compare.
It probably should read:
<code>
if (isCaseSensitive || other.isCaseSensitive) {
...
</code>
James
> Case Sensitivie Flag & Custom Tag Dictionary
> --------------------------------------------
>
> Key: OPENNLP-239
> URL: https://issues.apache.org/jira/browse/OPENNLP-239
> Project: OpenNLP
> Issue Type: New Feature
> Components: Parser
> Affects Versions: tools-1.5.1-incubating
> Reporter: mark meiklejohn
> Assignee: James Kosin
> Fix For: tools-1.5.2-incubating
>
>
> Unable to set case sensitive flag as per TreebankParser 1.3.1 or use a custom
> tag dictionary
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira