You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ctakes.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/07/09 00:07:49 UTC
[jira] [Commented] (CTAKES-97) Remove unnecesssary OpenNLP tag
dictionaries- it's built into the model since 1.5.x now- Thanks Joern
[ https://issues.apache.org/jira/browse/CTAKES-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13702516#comment-13702516 ]
ASF subversion and git services commented on CTAKES-97:
-------------------------------------------------------
Commit 1500985 from chenpei@apache.org
[ https://svn.apache.org/r1500985 ]
CTAKES-97 - Since OpenNLP 1.5+, there is no need to load up the tag dictionary anymore.
Removing unncessary/unused bit of code.
> 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
> 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