Companion

Properties

Link copied to clipboard
const val SOFT_HYPHEN: Char = '\u00AD'

The soft hyphen (U+00AD) that marks a possible hyphenation point

Functions

Link copied to clipboard
fun findPatternSet(language: String, script: Script? = null): HyphenationPatternSet?

Finds the pattern set for a language and script.

Link copied to clipboard
fun forLanguage(language: String, script: Script? = null): Hyphenator?

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