|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgate.wordnet.WordSenseImpl
Field Summary | |
private boolean |
isSemcor
|
private List |
lexRelations
|
private int |
orderInSynset
|
private int |
senseNumber
|
private Synset |
synset
|
private net.didion.jwnl.dictionary.Dictionary |
wnDictionary
|
private Word |
word
|
Constructor Summary | |
WordSenseImpl(Word _word,
Synset _synset,
int _senseNumber,
int _orderInSynset,
boolean _isSemcor,
net.didion.jwnl.dictionary.Dictionary _wnDict)
|
Method Summary | |
private void |
_loadLexicalRelations()
|
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? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Word word
private Synset synset
private int senseNumber
private int orderInSynset
private boolean isSemcor
private List lexRelations
private net.didion.jwnl.dictionary.Dictionary wnDictionary
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
private void _loadLexicalRelations() throws WordNetException
WordNetException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |