gate.wordnet
Interface WordSense

All Known Subinterfaces:
Adjective, Verb

public interface WordSense

Represents WordNet word sense.


Method Summary
 List getLexicalRelations()
          return the Lex relations this sense participates in
 List getLexicalRelations(int type)
          return the Lex relations (of the specified type) this sense participates in
 int getOrderInSynset()
          order of this sense relative to the synset- i.e. most important senses of the same synset come first
 int getPOS()
          part-of-speech for this sense (inherited from the containing synset)
 int getSenseNumber()
          order of this sense relative to the word - i.e. most important senses of the same word come first
 Synset getSynset()
          synset of this sense
 Word getWord()
          returns the Word of this WordSense
 boolean isSemcor()
          appears in SEMCOR?
 

Method Detail

getWord

Word getWord()
returns the Word of this WordSense


getPOS

int getPOS()
part-of-speech for this sense (inherited from the containing synset)


getSynset

Synset getSynset()
synset of this sense


getSenseNumber

int getSenseNumber()
order of this sense relative to the word - i.e. most important senses of the same word come first


getOrderInSynset

int getOrderInSynset()
order of this sense relative to the synset- i.e. most important senses of the same synset come first


isSemcor

boolean isSemcor()
appears in SEMCOR?


getLexicalRelations

List getLexicalRelations()
                         throws WordNetException
return the Lex relations this sense participates in

Throws:
WordNetException

getLexicalRelations

List getLexicalRelations(int type)
                         throws WordNetException
return the Lex relations (of the specified type) this sense participates in

Throws:
WordNetException