|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectit.unimo.dbgroup.momis.annotationOntology.OntologyMeaning
OntologyMeaning Class is a class that contains the all the information of the synset in the original WordNet (the gloss and also the lemmas). This class can show the whole synset structure and is used, in particular, into the SlimNodeSenseDialog class of the SLIM package.
| Field Summary | |
private java.util.Vector |
_lemmas
|
private int |
_senseNumber
|
private OntologySynset |
_synset
|
private int |
_syntacticCategory
|
| Constructor Summary | |
OntologyMeaning()
|
|
OntologyMeaning(OntologySynset synset,
java.util.Vector lemmas)
Constructor that sets the principal parameters of this class |
|
| Method Summary | |
void |
addLemma(OntologyLemma lemma)
add a lemma to the lemmas Vector |
java.lang.String |
getGloss()
returns the synset gloss |
java.util.Vector |
getLemmas()
get the lemmas vector |
int |
getSenseNumber()
get the sense number |
int |
getSyntacticCategory()
returns the synset syntactic Category |
void |
setLemmas(java.util.Vector lemmas)
set the lemmas vector |
void |
setSenseNumber(int senseNumber)
set the sense number |
void |
setSynset(OntologySynset synset)
sets the synset |
java.lang.String |
toString()
toString method retorn a string representation of the meaning. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private OntologySynset _synset
private java.util.Vector _lemmas
private int _syntacticCategory
private int _senseNumber
| Constructor Detail |
public OntologyMeaning()
public OntologyMeaning(OntologySynset synset,
java.util.Vector lemmas)
synset - the synsetlemmas - this vector contains all the lemmas associated
to the synset| Method Detail |
public java.lang.String getGloss()
public int getSyntacticCategory()
public java.util.Vector getLemmas()
public void setLemmas(java.util.Vector lemmas)
public int getSenseNumber()
public void setSenseNumber(int senseNumber)
public void setSynset(OntologySynset synset)
public void addLemma(OntologyLemma lemma)
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||