
| LexUnit |
|
- orthForms : String - synonyms : String - numOrthForms : int - numSynonyms : int |
|
+ initialize() : void + getOrthForms() : String + getSynonyms() : String + getNumSynonyms() : int + getNumOrthForms() : int + addOrthForm(String aForm) : void + addSynonym(String aSynonym) : void + toString() : String |
| public
void initialize() |
Initialize the instance
variables so that the LexUnit has no orthForms and no synonyms |
| public String getOrthForms() |
Return the orthforms for this LexUnit |
| public String getSynonyms() | Return the synonyms for this LexUnit |
| public int getNumSynonyms() | Return the number of synonyms for this LexUnit |
| public int getNumOrthForms() |
Return the number of orthForms for this LexUnit |
| public void addSynonym(String aSynonym) | Add aSynonym to
this LexUnit's synonyms |
| public void addOrthForm(String aForm) | Add aForm to this LexUnit's orthForms |
| public
String toString() |
Generate and return a String
containing the number of orthforms, the orthforms, the number of synonyms, and the synonyms |