Hyphenation code for the CompoundWordTokenFilter. The code for the compound word hyphenation is taken from the Apache FOP project. All credits for the hyphenation code belongs to them.
Interface Summary Interface Description PatternConsumerThis interface is used to connect the XML pattern file parser to the hyphenation tree.
Class Summary Class Description ByteVectorThis class implements a simple byte vector with access to the underlying array. CharVectorThis class implements a simple char vector with access to the underlying array. HyphenThis class represents a hyphen. HyphenationThis class represents a hyphenated word. HyphenationTreeThis tree structure stores the hyphenation patterns in an efficient way for fast lookup. PatternParserA SAX document handler to read and parse hyphenation patterns from a XML file. TernaryTreeTernary Search Tree.