diff options
author | Simon Pepping <spepping@apache.org> | 2006-01-28 15:57:59 +0000 |
---|---|---|
committer | Simon Pepping <spepping@apache.org> | 2006-01-28 15:57:59 +0000 |
commit | af24371d6a82826460535fb2bc91e5355b201659 (patch) | |
tree | ed733d4f519e0ef3e3f73676038831616207bfd3 /src/java/org/apache/fop/hyphenation | |
parent | 8f160a6bf6550761eaddaca0bccbfe0380ee6876 (diff) | |
download | xmlgraphics-fop-af24371d6a82826460535fb2bc91e5355b201659.tar.gz xmlgraphics-fop-af24371d6a82826460535fb2bc91e5355b201659.zip |
An addition to FOP that can be used to render a hyphenation tree in
various ways, among which a complete tree representation. And
correction of a few typos in HyphenationTree.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373170 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/hyphenation')
-rw-r--r-- | src/java/org/apache/fop/hyphenation/HyphenationTree.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/hyphenation/HyphenationTree.java b/src/java/org/apache/fop/hyphenation/HyphenationTree.java index 51a1a875e..a726d9501 100644 --- a/src/java/org/apache/fop/hyphenation/HyphenationTree.java +++ b/src/java/org/apache/fop/hyphenation/HyphenationTree.java @@ -40,7 +40,7 @@ public class HyphenationTree extends TernaryTree implements PatternConsumer, Serializable { /** - * value space: stores the inteletter values + * value space: stores the interletter values */ protected ByteVector vspace; @@ -469,7 +469,7 @@ public class HyphenationTree extends TernaryTree while (true) { System.out.print("l:\tload patterns from XML\n" + "L:\tload patterns from serialized object\n" - + "s:\tset minimun character count\n" + + "s:\tset minimum character count\n" + "w:\twrite hyphenation tree to object file\n" + "h:\thyphenate\n" + "f:\tfind pattern\n" @@ -539,7 +539,7 @@ public class HyphenationTree extends TernaryTree minCharCount)); } else if (token.equals("b")) { if (ht == null) { - System.out.println("No patterns has been loaded."); + System.out.println("No patterns have been loaded."); break; } System.out.print("Word list filename: "); @@ -572,7 +572,7 @@ public class HyphenationTree extends TernaryTree long endtime = System.currentTimeMillis(); long result = endtime - starttime; System.out.println(counter + " words in " + result - + " Millisekunden hyphenated"); + + " Milliseconds hyphenated"); } else if (token.equals("q")) { break; |