|
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 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
|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||