Mei - 2005-05-08

I use jwnl version1.3RC3 on Windows XP, with WordNet version  2.0.

I have the following function in my "main" which is causing the "java.lang.NumberFormatException: For input string: NUMBER_OF_VERB_FRAMES"

//*************************************************
private boolean JWNLWordNetTest(String NPTerm){
   try {           
       String filename = file_properties.xml;
       JWNL.initialize(new FileInputStream(filename));
       IndexWord word = Dictionary.getInstance().lookupIndexWord(POS.NOUN, "table");
 
           if (word.getSenseCount()>0){
               return true;
           } else {
               return false;
           }

   } catch (Exception ex) {
      ex.printStackTrace();       
      return false;
   }
    return true;
}

//*************************************************

Does anyone has any idea what I have done wrong? Thanks in advance.