Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 20.0Version 19.0Version 18.0 (current version)Version 17.0

On this page

You are viewing an old version of this documentation. Click here to open the current version, 18.0.

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;