it.unitn.disi.smatch.oracles
Interface ISynset

All Known Implementing Classes:
WordNetSynset

public interface ISynset

Interface for synsets.

Author:
Mikalai Yatskevich mikalai.yatskevich@comlab.ox.ac.uk, Aliaksandr Autayeu avtaev@gmail.com

Method Summary
 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.
 boolean isNull()
          Checks whether the synset holds a synset inside.
 

Method Detail

getGloss

java.lang.String getGloss()
Returns a synset gloss, that is a textual description of the meaning of the synset.

Returns:
a gloss

getLemmas

java.util.Vector<java.lang.String> getLemmas()
Get lemmas of this synset.

Returns:
lemmas

getParents

java.util.Vector<ISynset> getParents()
Returns "parents", that is hypernyms of the synset.

Returns:
hypernyms of the synset

getParents

java.util.Vector<ISynset> getParents(int depth)
Returns "parents", that is hypernyms of the synset, up to certain depth.

Parameters:
depth - a search depth
Returns:
"parents"

getChildren

java.util.Vector<ISynset> getChildren()
Returns "children", that is hyponyms of the synset.

Returns:
"children"

getChildren

java.util.Vector<ISynset> getChildren(int depth)
Returns "children", that is hyponyms of the synset, down to certain depth.

Parameters:
depth - a search depth
Returns:
"children"

isNull

boolean isNull()
Checks whether the synset holds a synset inside.

Returns:
whether the synset holds a synset inside


© 2010 Knowdive @ DISI