Help save net neutrality! Learn more.
Close

polysemy count

Help
Anonymous
2003-07-15
2003-07-15
  • Anonymous - 2003-07-15

    anyone know if it is possible to get the poysemy count of a word with jwnl? eg, when you put a word into wordnet, you get a familiarity option, which gives you the polysemy count of the word for that sense. i cant see any method in the class docs which will let me do this. any ideas?

    thanks

    john.

     
    • Marin Dimitrov

      Marin Dimitrov - 2003-07-15

      polysemy is not related to a word sense - it's the number of senses for a particular word/POS combination

      So, Dictionary::lookupIndexWord("bank",POS.NOUN).getSenseCount() should do the trick

      hth,

         Marin

       

Log in to post a comment.