Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 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.applyCasing property

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

LexicalModelSource.applyCasing property

Specifies the casing rules for a language. Should implement three casing forms: - 'lower' -- a fully-lowercased version of the text appropriate for the language's use of the writing system. - 'upper' -- a fully-uppercased version of the text - 'initial' -- a version preserving the input casing aside from the initial character, which is uppercased (like with proper nouns and sentence-initial words in English sentences.)

This is only utilized if languageUsesCasing is defined and set to true. 14.0

Signature:

readonly applyCasing?: CasingFunction;