|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectit.unimo.dbgroup.momis.annotationOntology.OntologyObject
it.unimo.dbgroup.momis.annotationOntology.OntologySynset
OntologySynset Class is a class that contains the information of the synsets used by MOMIS to retrieve the lexicon derived relationships.
| Field Summary | |
private java.lang.Object |
_extenderIdentifier
|
private java.lang.String |
_gloss
|
private java.lang.Object |
_synsetIdentifier
|
private int |
_syntacticCategory
|
| Fields inherited from class it.unimo.dbgroup.momis.annotationOntology.OntologyObject |
|
| Constructor Summary | |
OntologySynset()
|
|
| Method Summary | |
boolean |
equals(OntologySynset synset)
cecks if two OntologySynset are equals |
java.util.Vector |
getAllHolonyms()
Retrieves recursively all the holonyms of this synset |
java.util.Vector |
getAllHypernyms()
Retrieves recursively all the hypernyms of this synset |
OntologyExtender |
getExtender()
Retrieves the Extender for this lemma |
java.lang.Object |
getExtenderIdentifier()
Getter for the _extenderIdentifier field |
java.lang.String |
getGloss()
Getter for the _gloss field |
java.util.Vector |
getHypernyms()
Retrieves all the hypermyms of this synset |
java.util.Vector |
getHyponyms()
Retrieves all the hypermyms of this synset |
java.util.Vector |
getLemmas()
Retrieves all OntologyLemma for this synset |
java.util.Vector |
getLemmasNames()
Retrieves all OntologyLemma names for this synset |
OntologyLemmaSynset |
getLemmaSynset(int senseNumber)
Retrieves a given OntologyLemmaSynset for this lemma |
java.util.Vector |
getLemmaSynsets()
Retrieves all OntologyLemmaSynset for this synset |
java.util.Vector |
getRelationshipIterativelyThisIsSource(java.lang.String symbol)
iterative function that retrieves all synset connected to this synset via the selected relationship type (es: all hypernyms, olso the not dirtect ones) |
java.util.Vector |
getRelationshipRecursivelyThisIsSource(OntologySynset synset,
java.lang.String symbol)
recursive function that retrieves all synset connected to the synset via the selected relationship type (es: all hypernyms, olso the not dirtect ones) |
java.util.Vector |
getRelationshipRecursivelyThisIsSource(java.lang.String symbol)
recursive function that retrieves all synset connected to this synset via the selected relationship type (es: all hypernyms, olso the not dirtect ones) |
java.util.Vector |
getRelationshipThisIsSource()
Retrieves all OntologyRelationship where this Synset is Source |
java.util.Vector |
getRelationshipThisIsSource(java.lang.String symbol)
Retrieves all the relationships of a specific type. |
java.lang.Object |
getSynsetIdentifier()
Getter for the _synsetIdentifier field |
int |
getSyntacticCategory()
Getter for the _syntacticCategory field |
int |
hashCode()
|
void |
setExtenderIdentifier(java.lang.Object v)
Setter for the _extenderIdentifier field |
void |
setGloss(java.lang.String v)
Setter for the _gloss field |
void |
setSynsetIdentifier(java.lang.Object v)
Setter for the _synsetIdentifier field |
void |
setSyntacticCategory(int v)
Setter for the _syntacticCategory field |
java.lang.String |
toString()
Returns a string representation of this object |
java.util.Vector |
trovaCoordinati()
method that retrieves all coordinati OntologySynset of this synset a coordinato is an hyponym of the same hypernym. |
java.util.Vector |
trovaGemelli(OntologyLemma lemma)
method that retrieves the gemelli of a synset in function of an OntologyLemma: two synset are gemelli when they have al least tree lemmas equals and one of these is the lemma parameter of this method. |
java.util.Vector |
trovaParenti(OntologyLemma lemma)
method that retrieves all the parenti (sorelle e gemelli) of this synset in relation with a particular OntologyLemma. |
java.util.Vector |
trovaSorelle(OntologyLemma lemma)
method that retrieves the sorelle of a synset related to a particular OntologyLemma. |
| Methods inherited from class it.unimo.dbgroup.momis.annotationOntology.OntologyObject |
getOntologyManager, setOntologyManager |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
private java.lang.Object _synsetIdentifier
private java.lang.String _gloss
private int _syntacticCategory
private java.lang.Object _extenderIdentifier
| Constructor Detail |
public OntologySynset()
| Method Detail |
public boolean equals(OntologySynset synset)
public OntologyExtender getExtender()
throws java.lang.Exception
java.lang.Exception
public OntologyLemmaSynset getLemmaSynset(int senseNumber)
throws java.lang.Exception
java.lang.Exception
public java.util.Vector getLemmaSynsets()
throws java.lang.Exception
java.lang.Exception
public java.util.Vector getLemmas()
throws java.lang.Exception
java.lang.Exceptionpublic java.util.Vector getLemmasNames()
public java.util.Vector getRelationshipThisIsSource()
throws java.lang.Exception
java.lang.Exceptionpublic java.util.Vector getRelationshipThisIsSource(java.lang.String symbol)
public java.util.Vector getHypernyms()
public java.util.Vector getAllHypernyms()
public java.util.Vector getAllHolonyms()
public java.util.Vector getHyponyms()
public java.util.Vector getRelationshipIterativelyThisIsSource(java.lang.String symbol)
public java.util.Vector getRelationshipRecursivelyThisIsSource(OntologySynset synset,
java.lang.String symbol)
public java.util.Vector getRelationshipRecursivelyThisIsSource(java.lang.String symbol)
public java.util.Vector trovaGemelli(OntologyLemma lemma)
public java.util.Vector trovaSorelle(OntologyLemma lemma)
public java.util.Vector trovaParenti(OntologyLemma lemma)
public java.util.Vector trovaCoordinati()
public java.lang.Object getSynsetIdentifier()
public void setSynsetIdentifier(java.lang.Object v)
public java.lang.String getGloss()
public void setGloss(java.lang.String v)
public int getSyntacticCategory()
public void setSyntacticCategory(int v)
public java.lang.Object getExtenderIdentifier()
public void setExtenderIdentifier(java.lang.Object v)
public java.lang.String toString()
public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||