|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.unitn.disi.smatch.oracles.wordnet.WordNetSynset
public class WordNetSynset
WordNet-based synset implementation.
Constructor Summary | |
---|---|
WordNetSynset(Synset sense)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.util.Vector<ISynset> |
getChildren()
Returns "children", that is hyponyms of the synset. |
java.util.Vector<ISynset> |
getChildren(int depth)
Returns "children", that is hyponyms of the synset, down to certain depth. |
java.lang.String |
getGloss()
Returns a synset gloss, that is a textual description of the meaning of the synset. |
java.util.Vector<java.lang.String> |
getLemmas()
Get lemmas of this synset. |
java.util.Vector<ISynset> |
getParents()
Returns "parents", that is hypernyms of the synset. |
java.util.Vector<ISynset> |
getParents(int depth)
Returns "parents", that is hypernyms of the synset, up to certain depth. |
int |
hashCode()
|
boolean |
isEqual(Synset source,
Synset target)
|
boolean |
isNull()
Checks whether the synset holds a synset inside. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WordNetSynset(Synset sense)
Method Detail |
---|
public java.lang.String getGloss()
ISynset
getGloss
in interface ISynset
public java.util.Vector<java.lang.String> getLemmas()
ISynset
getLemmas
in interface ISynset
public java.util.Vector<ISynset> getParents()
ISynset
getParents
in interface ISynset
public java.util.Vector<ISynset> getParents(int depth)
ISynset
getParents
in interface ISynset
depth
- a search depth
public java.util.Vector<ISynset> getChildren()
ISynset
getChildren
in interface ISynset
public java.util.Vector<ISynset> getChildren(int depth)
ISynset
getChildren
in interface ISynset
depth
- a search depth
public boolean isEqual(Synset source, Synset target)
public boolean isNull()
ISynset
isNull
in interface ISynset
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |