Commit graph

4967 commits

Author SHA1 Message Date
Darcy Wong
56982bde4e Add two more fixes
* Fix determination of custom keyboard from package
* Add Toast notification when re-installing a lexical model.
2019-05-24 08:18:54 +07:00
Darcy Wong
a19db98e78 Merge remote-tracking branch 'origin/master' into android-download-model 2019-05-23 15:10:22 +07:00
Darcy Wong
1b87308eae Allow pre-existing models to be re-installed 2019-05-23 15:09:03 +07:00
Eddie Antonio Santos
7588af3284
Merge pull request #1787 from keymanapp/lmlayer-search-key-param
[LMLayer] Pass searchTermToKey function to Trie model
2019-05-23 00:06:11 -06:00
Eddie Antonio Santos
6395ff5ce0
Merge branch 'master' into lmlayer-search-key-param 2019-05-22 23:12:33 -06:00
Eddie Antonio Santos
a9d735d607
Merge pull request #1784 from keymanapp/lmlayer-unicode-default-word-boundary
[LMLayer] Add default Unicode Word Breaking
2019-05-22 23:10:29 -06:00
Joshua Horton
9d91123bb7
Merge pull request #1792 from keymanapp/web-lmlayer-ie-kill-switch
[Web] Disables the LMLayer when IE active and < 11.
2019-05-23 12:08:24 +07:00
Joshua A. Horton
0bf410597b Disables the LMLayer when IE active and < 11. 2019-05-23 08:58:28 +07:00
Eddie Antonio Santos
5237a1817e
Use const enum for word break property. 2019-05-22 16:25:06 -06:00
Eddie Antonio Santos
969ceafbd5
Revert: change default word breaker to placeholder again. 2019-05-22 11:50:48 -06:00
Eddie Antonio Santos
f205f868c4
Use array instead of object in big table. 2019-05-22 11:48:16 -06:00
Eddie Antonio Santos
dc2282dc60
Use the default word breaker consistently. 2019-05-22 11:20:52 -06:00
Darcy Wong
086466808b Fix custom model param 2019-05-22 22:52:46 +07:00
Eddie Antonio Santos
431442e58d
Use custom search term to key in building of trie. 2019-05-22 09:26:41 -06:00
Eddie Antonio Santos
f4dc7a8e81
Factor out generateLexicalModelCode(). 2019-05-22 09:13:45 -06:00
Eddie Antonio Santos
9003591c26
Add searchTermToKey() as an optional property. 2019-05-22 09:00:48 -06:00
Eddie Antonio Santos
42ff692e00
Remove it.only... 2019-05-22 08:42:45 -06:00
Darcy Wong
8eecf9a6e9 Cleanup code 2019-05-22 17:19:32 +07:00
Darcy Wong
fcc45c8a99 Fix model download 2019-05-22 17:11:31 +07:00
Eddie Antonio Santos
c4947cfce6
Add searchTermToKey() function to TrieModelOptions. 2019-05-21 15:58:56 -06:00
Eddie Antonio Santos
a2d5c09575
Convolute test to see if the key function actually works. 2019-05-21 15:58:29 -06:00
Eddie Antonio Santos
4865c51951
Fix off-by-one error.
Both `left` and `right` must be valid indices into the
WORD_BOUNDARY_PROPERTY array.
2019-05-21 12:34:43 -06:00
Eddie Antonio Santos
d46f5e1de1
Remove generator function* and work exclusively with arrays instead. 2019-05-21 10:26:33 -06:00
Eddie Antonio Santos
dafa1f6ff3
Convert findBoundaries() from generator to array returning function. 2019-05-21 09:48:42 -06:00
Eddie Antonio Santos
ca18b3c990
Remove extendedPictographic and support for WB3c. 2019-05-21 09:26:05 -06:00
Eddie Antonio Santos
4a2d965845
Place data into its own namespace. 2019-05-21 09:18:15 -06:00
Eddie Antonio Santos
a5974013ac
Merge branch 'master' into lmlayer-unicode-default-word-boundary 2019-05-21 09:12:36 -06:00
Eddie Antonio Santos
f7b2500df3
Merge pull request #1785 from keymanapp/lmlayer-fix-empty-buffer
[LMLayer] Treat flakiness in 'empty buffer' test.
2019-05-21 09:10:28 -06:00
Darcy Wong
48dd7a1779 Add hooks to download KMP lexical model from cloud 2019-05-21 16:19:53 +07:00
Darcy Wong
cf56de8008 Check language ID in model lists 2019-05-21 12:08:39 +07:00
Joshua Horton
1a80a3f182
Merge pull request #1778 from keymanapp/web-fat-fingering
[Web] Fat-finger detection + probability generation
2019-05-21 10:01:09 +07:00
jahorton
85ce75c993 Polishing tweaks to address PR comments. 2019-05-21 09:28:34 +07:00
Darcy Wong
fd3405ca8b Fix some parsing 2019-05-20 21:54:23 +07:00
Darcy Wong
852d82edd6 Attempt to populate lexical model info 2019-05-20 17:13:37 +07:00
Eddie Antonio Santos
b5443e5741
Export a function called 'default'. 2019-05-20 04:06:24 -06:00
Darcy Wong
4eeda9ac0e More wip changes 2019-05-20 11:53:04 +07:00
Eddie Antonio Santos
d2d017ce53
Implement fixes from upstream. 2019-05-18 17:53:34 -06:00
Eddie Antonio Santos
4817ef6d6d
Make unit test slightly less weird. 2019-05-18 17:06:06 -06:00
Eddie Antonio Santos
6d8ce4f2bc
Treat flakiness in 'empty buffer' test. 2019-05-17 21:32:02 -06:00
Darcy Wong
f4ab849989 Fix compilation errors 2019-05-18 09:13:11 +07:00
Eddie Antonio Santos
bd7a2a52f4
Remove debugger and console.assert() lines... 2019-05-17 17:26:47 -06:00
Eddie Antonio Santos
8eede859c0
Split the data from the implementation. 2019-05-17 17:08:12 -06:00
Eddie Antonio Santos
ce179c772c
First version of the default word breaker. 2019-05-17 16:47:59 -06:00
Eddie Antonio Santos
fc8cd86617
Test for default Unicode word breaker. 2019-05-17 16:39:08 -06:00
Darcy Wong
485f6f44a7 More updates to parse lexical model info 2019-05-17 16:25:09 +07:00
jahorton
ca7a7d4ef7 Improved code, but not yet complete. 2019-05-17 16:05:24 +07:00
jahorton
c21919676d Start of a predictive text submenu for Android. 2019-05-17 15:36:34 +07:00
Darcy Wong
a31125554b Rename ModelsPickerActivity to ModelListActivity 2019-05-17 11:37:26 +07:00
jahorton
ed5448ba98 Fixes Android regression within PR. 2019-05-17 11:09:16 +07:00
Darcy Wong
b10be6ecda
Merge pull request #1783 from keymanapp/android-fix-banner-height-init
[Android] Fix exception when setting banner height 0
2019-05-17 11:05:04 +07:00