addPattern

open override fun addPattern(pattern: String, ivalue: String)

Add a pattern to the tree. Mainly, to be used by {@link PatternParser PatternParser} class as callback to add a pattern to the tree.

Parameters

pattern

the hyphenation pattern

ivalue

interletter weight values indicating the desirability and priority of hyphenating at a given point within the pattern. It should contain only digit characters. (i.e. '0' to '9').