sense number of a word from the sense key

Help
PJPC
2010-07-06
2013-04-29
  • PJPC
    PJPC
    2010-07-06

    I have a set of words (Senseval3 all words data set) where each one of them is labeled with the correct sense key used in the context. The encoding is: lemma%lss_type:lex_filenum:lex_id:head_word:head_id, (as explained in the senseidx man page of the word net library) for example: man%1:18:00::
    How can I get the sense number needed to call  the getSense() function from the given sense key? Is there a method in jwnl that returns that number? I have tried a different methods but all I can get is the offset number.
    Any help will be appreciated, Thanks.