From af24371d6a82826460535fb2bc91e5355b201659 Mon Sep 17 00:00:00 2001 From: Simon Pepping Date: Sat, 28 Jan 2006 15:57:59 +0000 Subject: 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 --- src/java/org/apache/fop/hyphenation/HyphenationTree.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/java/org/apache/fop/hyphenation') 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; -- cgit v1.2.3