Commit graph

11 commits

Author SHA1 Message Date
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
Marc Durdin
1d92385928 chore(web): start-of-sentence in manual test pages 2021-12-09 05:59:16 +01:00
jahorton
f5624dce65 refactor(web/engine): removes need for Processor 'disableDOM' flag 2020-03-18 13:41:39 +07:00
jahorton
f3990aed1f Option name adjustment. Android verified, not iOS 2019-07-04 09:33:52 +07:00
jahorton
6ff431fb62 Starts predict v correct options in KMW. 2019-07-03 11:00:56 +07:00
Eddie Antonio Santos
4aee81cb95
Automatically copy trie from common/predictive-text to web/ in web UI build. 2019-06-17 09:45:19 -06:00
jahorton
0aee97b31c Sets KMW test page to use trie replacement 2019-06-04 08:52:02 +07:00
jahorton
bce907301d Adds workaround for Android duplicate load msg bug. 2019-05-24 11:07:47 +07:00
jahorton
3d59ff1fea Updates the simple-en-wordlist bootstrap lexical model. 2019-05-03 15:44:28 +07:00
jahorton
348f4547ee Starts support for key-based UI with suggestions 2019-04-25 12:20:49 +07:00
Joshua A. Horton
20b89e52d6 Prototype predictive ui test page! 2019-04-04 10:34:49 +07:00