createLanguageHyphenator
createLanguageHyphenator(
language,bundle):Hyphenator
Defined in: src/core/hyphenation/index.ts:71
Synchronous variant of getHyphenator: build a Hyphenator from already-loaded pattern strings (useful when patterns are bundled or fetched out-of-band).
Parameters
Section titled “Parameters”language
Section titled “language”The language (selects the left/right minimums).
bundle
Section titled “bundle”The pattern and optional exception strings.
exceptions?
Section titled “exceptions?”string
patterns
Section titled “patterns”string
Returns
Section titled “Returns”The hyphenator.