public interface HyphenationConsumer
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Word> |
getUnexpectedWords()
Returns the list of words for which hyphenation was requested, that were not found in the standard dictionaries,
sorted by language and country.
|
Word |
hyphenate(java.lang.CharSequence word,
int offset,
int len,
Orthography orthography)
Hyphenate a word.
|
WordSequence |
parseWordSequence(java.lang.CharSequence characters,
int startIndex,
int length,
Orthography orthography)
Parses a character sequence, returning a word sequence.
|
Word hyphenate(java.lang.CharSequence word, int offset, int len, Orthography orthography) throws HyphenationException
word - The sequence of text to be evaluated.offset - The index to the first character in word that is part of the word.len - The length of the word.orthography - The language, country, and script information to be used to find hyphenation points.HyphenationException - For errors finding or using the hyphenation information.WordSequence parseWordSequence(java.lang.CharSequence characters, int startIndex, int length, Orthography orthography)
characters - The input being parsed.startIndex - Index into the first character in characters that should be evaluated.
Characters at indexes before this will not be considered.length - The number of characters in CharSequence that should be parsed.orthography - The language, country, and script information to be used to find hyphenation points.java.util.List<Word> getUnexpectedWords()
This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.