|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectHyphenator
A Hyphenator object hyphenates a given word based on a Tex Pattern file. The algorithm used is based on F.Liang. It is described in the TeXBook, Appendix H.
| Constructor Summary | |
Hyphenator()
Create an instance of Hyphenator. |
|
| Method Summary | |
java.util.HashMap |
getPatternHash()
Get patterns of this Hyphenator instance. |
java.lang.String |
getVowels()
Return the String of German vowels that this instance uses. |
java.util.ArrayList |
hyphenate(java.lang.String s)
|
void |
hyphenate(YaspWord word)
The heart of the algorithm. |
void |
setPatternHash(java.util.HashMap hash)
Set patterns that are necessary for hyphenation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Hyphenator()
| Method Detail |
public void setPatternHash(java.util.HashMap hash)
hash - HashMap containing patterns as described.public java.util.HashMap getPatternHash()
public java.lang.String getVowels()
public java.util.ArrayList hyphenate(java.lang.String s)
public void hyphenate(YaspWord word)
word - a YaspWord
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||