Uploaded image for project: 'cTAKES'
  1. cTAKES
  2. CTAKES-97

Remove unnecesssary OpenNLP tag dictionaries- it's built into the model since 1.5.x now- Thanks Joern

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0-incubating
    • 3.1.0
    • ctakes-pos-tagger
    • None

    Description

      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."); // }

      Attachments

        Activity

          People

            chenpei Pei Chen
            chenpei Pei Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: