spiegel-keyman/common/core/web/input-processor
Marc Durdin b7ce99480f feat(web): prediction casing follows current layer
Fixes #6455.

This involved adding an extra hint to the data passed into the lexical
model layer, being the CasingForm that the current layer wants to use.

Given there are several entry points to the lexical model layer, this
meant a few places where we needed to check the current layer.

I refactored the very long function `InputProcessor.processKeyEvent` to
extract out the `buildAlternates` function. There should be no
functional changes to the `buildAlternates` code. But it makes
`processKeyEvent` significantly easier to read.
2022-04-01 16:20:50 +11:00
..
src feat(web): prediction casing follows current layer 2022-04-01 16:20:50 +11:00
tests/cases chore(web): fixup InputProcessor tests 2022-04-01 08:55:55 +11:00
.gitignore change(web/engine): addresses most of PR review 2020-04-29 14:28:30 +07:00
package-lock.json auto: increment beta version to 15.0.226 2022-03-31 22:57:58 -04:00
package.json auto: increment beta version to 15.0.226 2022-03-31 22:57:58 -04:00
README.md docs(web/engine): fixes up readme.md for input-processor 2020-04-24 14:35:51 +07:00
test.sh chore: additional scripts 2022-03-10 10:26:15 +11:00

Keyman: Keyboard Processor Module

The Original Code is (C) 2017-2020 SIL International

The Keyboard Processor module is an internal component of KeymanWeb, seen within this repo at /web/.

Minimum Compilation Requirements

  • A local installation of Node.js v8.9+.
    • Builds will call npm install to automatically install further necessary build dependencies.

    • Linux users can run the following to update to LTS version of nodejs

sudo apt-get install python-software-properties
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install nodejs

The build script may be found at src/build.sh.