|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.llnl.ontology.wordnet.BaseLemma
public class BaseLemma
A base implementation of a Lemma
. This implementation allows for
easy bean like access to all the requisit data members.
Constructor Summary | |
---|---|
BaseLemma(Synset synset,
String lemmaName,
String syntacticMarker)
Creates a new Lemma . |
|
BaseLemma(Synset synset,
String lemmaName,
String lexName,
int lexNameIndex,
int lexId,
String syntacticMarker)
Creates a new Lemma . |
Method Summary | |
---|---|
void |
addFrameString(String frameString)
Adds a verb frame to this Lemma . |
String |
getKey()
Returns the key for this Lemma . |
String |
getLemmaName()
Returns the name of this Lemma |
int |
getLexicalId()
Returns the lexical id for this Lemma |
String |
getLexicographerName()
Returns the lexicographer file name for this lemma . |
int |
getLexNameIndex()
Returns the index corresponding to the lexicographer file name for this Lemma . |
Synset |
getSynset()
Returns the Synset for this Lemma . |
void |
setKey(String key)
Sets the key for this Lemma . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseLemma(Synset synset, String lemmaName, String syntacticMarker)
Lemma
.
public BaseLemma(Synset synset, String lemmaName, String lexName, int lexNameIndex, int lexId, String syntacticMarker)
Lemma
.
Method Detail |
---|
public Synset getSynset()
Synset
for this Lemma
.
getSynset
in interface Lemma
public String getLemmaName()
Lemma
getLemmaName
in interface Lemma
public String getLexicographerName()
lemma
.
getLexicographerName
in interface Lemma
public int getLexNameIndex()
Lemma
.
getLexNameIndex
in interface Lemma
public int getLexicalId()
Lemma
getLexicalId
in interface Lemma
public String getKey()
Lemma
.
getKey
in interface Lemma
public void setKey(String key)
Lemma
.
public void addFrameString(String frameString)
Lemma
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |