forLanguage

fun forLanguage(language: String, script: Script? = null): Hyphenator?(source)

Returns a hyphenator for language and script, see findPatternSet. Hyphenators are cached.

Return

the hyphenator or null when there are no patterns for the language