|
|||||||||||
| 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. 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 |
| 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 WordSensepublic int getPOS()
getPOS in interface WordSensepublic Synset getSynset()
getSynset in interface WordSensepublic int getSenseNumber()
getSenseNumber in interface WordSensepublic int getOrderInSynset()
getOrderInSynset in interface WordSensepublic boolean isSemcor()
isSemcor in interface WordSense
public List getLexicalRelations()
throws WordNetException
getLexicalRelations in interface WordSenseWordNetException
public List getLexicalRelations(int type)
throws WordNetException
getLexicalRelations in interface WordSenseWordNetException
private void _loadLexicalRelations()
throws WordNetException
WordNetException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||