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

James Kosin commented on OPENNLP-239:
-------------------------------------

Alright, 
(1) Even thought the StringListWrapper makes things complicated, there isn't an 
easier way to return a StringList with case sensitivity or insensitivity while 
using the equals() method.  The other method would involve going through all 
the uses for the Dictionary and the StringList and determine how to allow for 
case sensitive and insensitive testing.  Not really nice.
(2) Saving the case sensitivity of the Dictionary is becoming a requirement; 
however, we need clairity on two options... (a) default setting and the 
priority... we can make case insensitive the default and the priority... ie: 
setting another to true and trying to compare will result still in a case 
insensitive or the otherway around.  (b) saving the case sensitivity is a bit 
problematic in that the flag is required for the dictionary on creation and is 
used as entries are added... this means, it is difficult to restore the flag 
after the fact, or even before without creating a new dictionary class to store 
the entries.

> 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

        

Reply via email to