[ 
https://issues.apache.org/jira/browse/CTAKES-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pei Chen resolved CTAKES-97.
----------------------------

    Resolution: Fixed
      Assignee: Pei Chen
    
> Remove unnecesssary OpenNLP tag dictionaries- it's built into the model since 
> 1.5.x now- Thanks Joern
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CTAKES-97
>                 URL: https://issues.apache.org/jira/browse/CTAKES-97
>             Project: cTAKES
>          Issue Type: Bug
>          Components: ctakes-pos-tagger
>    Affects Versions: 3.0-incubating
>            Reporter: Pei Chen
>            Assignee: Pei Chen
>            Priority: Minor
>             Fix For: 3.1
>
>
> We should be able to remove unused code now (tag dictionaries):
> For example- in the POSTagger
> //                    boolean caseSensitive = (Boolean) 
> uimaContext.getConfigParameterValue(CASE_SENSITIVE_PARAM);
> //                    String tagDictionaryPath = (String) 
> uimaContext.getConfigParameterValue(TAG_DICTIONARY_PARAM);
> //                    TagDictionary tagDictionary = null;
> //                    if (tagDictionaryPath != null && 
> !tagDictionaryPath.trim().equals("")) {
> //                            File tagDictFile = 
> FileLocator.locateFile(tagDictionaryPath);
> //                            String tagDictFileAbsPath = 
> tagDictFile.getAbsolutePath();
> //                            logger.info("POS tagger tag-dictionary: " + 
> tagDictFileAbsPath);
> //
> //                            tagDictionary = new 
> POSDictionary(tagDictFileAbsPath, caseSensitive);
> //                    } else {
> //                            logger.info("No POS tagger tag-dictionary.");
> //                    }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to