Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0Version 17.0 (current version)

On this page

LexicalModelSource.wordBreaker property

Home > @keymanapp/kmc-model > LexicalModelSource > wordBreaker

LexicalModelSource.wordBreaker property

Which word breaker to use. Choose from:

  • 'default' -- breaks according to Unicode UAX #29 ยง4.1 Default Word Boundary Specification, which works well for *most* languages. - 'ascii' -- a very simple word breaker, for demonstration purposes only. - word breaking function -- provide your own function that breaks words. - class-based word-breaker - may be supported in the future.

Signature:

readonly wordBreaker?: WordBreakerSpec | SimpleWordBreakerSpec;