Back to project page sdk-hyphenation.
The source code is released under:
GNU Lesser General Public License
If you think the Android project sdk-hyphenation listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.silpa.hyphenation.text; // w w w . j av a2s. com import org.silpa.hyphenation.util.List; /** * Data describing how words should be hyphenated. */ public interface RuleDefinition { /** * Get pattern tree structure to match against character sequences. * * @param c The first character of the sequence to match * @return Tree structure to match against */ List getPatternTree(int c); /** * Get the hyphenation info for words where hyphenation patterns should not be applied. * * @param word The word to check * @return Hyphenation for the word or null if the word was not an exception */ int[] getException(String word); }