|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javatools.database.WordNet.Synset
public static class WordNet.Synset
Represents a WordNet synset
Field Summary | |
---|---|
int |
intMarker
Public marker |
java.lang.Object |
marker
Public marker |
Constructor Summary | |
---|---|
WordNet.Synset(int idnum)
Constructs a synset from an id |
Method Summary | |
---|---|
java.util.Set<WordNet.Synset> |
ancestors()
Returns the set of ancestors |
int |
compareTo(WordNet.Synset o)
Sorts synsets by id |
java.util.Set<WordNet.Synset> |
descendants()
Returns the set of descendants |
boolean |
equals(java.lang.Object o)
Tells wether the ids are the same |
java.util.List<WordNet.Synset> |
getDowns()
Returns the downs. |
int |
getId()
Returns the id. |
java.util.List<WordNet.Synset> |
getUps()
Returns the ups. |
java.util.List<java.lang.String> |
getWords()
Returns the words. |
WordNet.WordType |
getWordType()
Returns WordType |
int |
hashCode()
Returns the id |
java.lang.String |
toSmallString()
Returns the most frequent word for this and the parent |
java.lang.String |
toString()
Returns the id and the words of this synset |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.Object marker
public int intMarker
Constructor Detail |
---|
public WordNet.Synset(int idnum)
Method Detail |
---|
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(WordNet.Synset o)
compareTo
in interface java.lang.Comparable<WordNet.Synset>
public final java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<WordNet.Synset> getDowns()
public int getId()
public java.util.List<WordNet.Synset> getUps()
public java.util.List<java.lang.String> getWords()
public java.lang.String toSmallString()
public WordNet.WordType getWordType()
public java.util.Set<WordNet.Synset> ancestors()
public java.util.Set<WordNet.Synset> descendants()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |