gate.wordnet
Interface WordSense

All Known Subinterfaces:
Adjective, Verb
All Known Implementing Classes:
AdjectiveImpl, VerbImpl, WordSenseImpl

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.
 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.
 Synset getSynset()
          synset of this sense
 Word getWord()
          returns the Word of this WordSense
 boolean isSemcor()
          appears in SEMCOR?
 

Method Detail

getWord

public Word getWord()
returns the Word of this WordSense


getPOS

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


getSynset

public Synset getSynset()
synset of this sense


getSenseNumber

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


getOrderInSynset

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


isSemcor

public boolean isSemcor()
appears in SEMCOR?


getLexicalRelations

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

WordNetException

getLexicalRelations

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

WordNetException