Hi,
   I am not sure if this is a bug or not.  In getLemmas(String word, String 
tag) method of JWNLDictionary, if you are looking up adjectives it checks if 
the tag starts with "J" or "a".  Anyone know if this a bug or deliberate?  
(JWNL-1.3.3 distributed with opennlp-1.5.3)

      if (tag.startsWith("N") || tag.startsWith("n")) {
        pos = POS.NOUN;
      }
      else if (tag.startsWith("V") || tag.startsWith("v")) {
        pos = POS.VERB;
      }
      else if (tag.startsWith("J") || tag.startsWith("a")) {
        pos = POS.ADJECTIVE;
      }
      else if (tag.startsWith("R") || tag.startsWith("r")) {
        pos = POS.ADVERB;
      }
      else {
        pos = POS.NOUN;
      }

Dan

Reply via email to