|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgate.wordnet.WordSenseImpl
public class WordSenseImpl
Constructor Summary | |
---|---|
WordSenseImpl(Word _word,
Synset _synset,
int _senseNumber,
int _orderInSynset,
boolean _isSemcor,
net.didion.jwnl.dictionary.Dictionary _wnDict)
|
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? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WordSenseImpl(Word _word, Synset _synset, int _senseNumber, int _orderInSynset, boolean _isSemcor, net.didion.jwnl.dictionary.Dictionary _wnDict)
Method Detail |
---|
public Word getWord()
getWord
in interface WordSense
public int getPOS()
getPOS
in interface WordSense
public Synset getSynset()
getSynset
in interface WordSense
public int getSenseNumber()
getSenseNumber
in interface WordSense
public int getOrderInSynset()
getOrderInSynset
in interface WordSense
public boolean isSemcor()
isSemcor
in interface WordSense
public List getLexicalRelations() throws WordNetException
getLexicalRelations
in interface WordSense
WordNetException
public List getLexicalRelations(int type) throws WordNetException
getLexicalRelations
in interface WordSense
WordNetException
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |