|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectLexicon
Our lexicon (mainly for cases in which hyphenation etc. is difficult, for example).
| Constructor Summary | |
Lexicon()
Create an instance of Lexicon. |
|
| Method Summary | |
void |
addItem(YaspWord word)
Adds an item to the lexicon. |
YaspWord |
getItem(java.lang.String s)
Looks for a given string as a graphemic representation in the lexicon, returning the item as a YaspWord. |
void |
printLexicon()
Print all the entries of the lexicon. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Lexicon()
| Method Detail |
public YaspWord getItem(java.lang.String s)
s - your string.
public void addItem(YaspWord word)
public void printLexicon()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||