Commit graph

27982 commits

Author SHA1 Message Date
Joshua Horton
196d6ad3c4
Merge branch 'master' into ios-banner-replacement 2019-05-03 09:12:24 +07:00
Darcy Wong
ea0d9be206 Add null check of keyboard list 2019-05-03 08:51:43 +07:00
Eddie Antonio Santos
64073fb02d
Clean up ASCII word breaker unit test. 2019-05-02 15:11:03 -06:00
Eddie Antonio Santos
bc91ee9ec4
Use word breaking function in WordListModel. 2019-05-02 14:53:50 -06:00
Eddie Antonio Santos
dab2d0c2eb
Refactor: move placeholder word breaker to word_breakers directory/namespace. 2019-05-02 14:47:27 -06:00
Eddie Antonio Santos
89ad857210
Have TrieModel use a word-breaker internally. 2019-05-02 14:42:00 -06:00
Eddie Antonio Santos
a4db640621
Add word breaker as a parameter to TrieModel. 2019-05-02 14:33:28 -06:00
Eddie Antonio Santos
d2dd697706
Implement ASCII word breaker. 2019-05-02 13:50:47 -06:00
Eddie Antonio Santos
ed9e95f9a7
Test the ASCII word breaker. 2019-05-02 13:32:14 -06:00
Eddie Antonio Santos
b2282c0349
Add new interfaces for word breaking. 2019-05-02 13:17:42 -06:00
Eddie Antonio Santos
617d657d69
Remove previous versions of the word breaker. 2019-05-02 12:57:04 -06:00
Randy Boring
6169b672be download the lexical model kmp file with URLSession task 2019-05-02 04:56:35 -05:00
Darcy Wong
d263b4c36e Change checkbox label on "Getting Started" activity
Checkbox changed from "Don't show again" to "Show 'Get Started' on startup"
2019-05-02 16:00:00 +07:00
Joshua Horton
5903838cd9
Merge pull request #1747 from keymanapp/web-suggestion-ux
[Web] Predictive text UX improvements
2019-05-02 11:56:34 +07:00
jahorton
e27d351e51 Tweaks kmwembedded's touchMenuPos. 2019-05-02 08:26:48 +07:00
Randy Boring
0af7ba20b6 rename Date+ISOExtension.swift to Formatter+DateISOExtension.swift
remove unnecessary ?? as left hand side was always true
2019-05-01 18:49:06 -05:00
Randy Boring
2226215ea6 rename Date+ISOExtension.swift to Formatter+ISODateExtension.swift
remove an unnecessary ?? since the left hand  side is always true
2019-05-01 18:47:32 -05:00
Eddie Antonio Santos
13bdd0276e
Merge pull request #1752 from keymanapp/lmlayer-cli-fix-argument-parsing
[LMLayer-CLI] Fix argument parsing bug.
2019-04-30 20:50:08 -06:00
Eddie Antonio Santos
d34cecf0ae
[LMLayer-CLI] fix argument paring bug. 2019-04-30 09:57:03 -06:00
Darcy Wong
fb0b7a8602 Add right arrow icon to preference selection 2019-04-30 15:08:30 +07:00
Randy Boring
0d054852ca add logging an error when both a keyboard and a lexical model are present
removed redundant check
2019-04-30 02:34:29 -05:00
Randy Boring
1f6b0add8b removed comment showing query to be added 2019-04-30 02:28:05 -05:00
Randy Boring
b4360f9ada bypass the openURL two-step troubles and download the lexical model directly
then install it without asking
2019-04-30 02:14:59 -05:00
Darcy Wong
f16b120d2a Update history.md 2019-04-30 10:47:10 +07:00
Darcy Wong
58b667dbc8 Cleanup
Tidy up unused strings
2019-04-30 10:38:33 +07:00
Eddie Antonio Santos
e3d98dddd3
Merge pull request #1748 from keymanapp/lmlayer-trie
[LMLayer] Trie-backed word list model
2019-04-29 21:32:01 -06:00
Eddie Antonio Santos
882a56ac6e
Merge pull request #1750 from keymanapp/lmlayer-wordlist-pairs
[LMLayer] Always accept wordlist as array of [word, count] pairs.
2019-04-29 21:31:03 -06:00
jahorton
36bc731b28 Fixes popup keys and system keyboard select menu 2019-04-30 10:24:26 +07:00
Darcy Wong
e780cd6857 Include keyboard count 2019-04-30 10:20:39 +07:00
Darcy Wong
ae9e7816a0 Create new settings menu
New "Settings" menu will have
* link to Keyboard Picker activity
* "show banner" toggle
* "Don't show 'Get Started' on startup" toggle
2019-04-30 10:02:22 +07:00
jahorton
0420675a27 Fixes subkey menu display in system keyboard. 2019-04-30 09:53:56 +07:00
Eddie Antonio Santos
75ef303422
Update english-1000 in integration test. 2019-04-29 20:46:53 -06:00
Eddie Antonio Santos
05de75229c
[LMLayer] Always accept wordlist as array of [word, count] pairs. 2019-04-29 20:39:31 -06:00
Eddie Antonio Santos
19b218cf97
Tweak current priority queue implementation. 2019-04-29 08:37:16 -06:00
Eddie Antonio Santos
dd94e4ba26
Remove checks for unsortedness. 2019-04-29 08:30:22 -06:00
Eddie Antonio Santos
258d41943e
Test suggest after a single word. 2019-04-29 08:27:42 -06:00
Eddie Antonio Santos
58f429e344
Implement trie.firstN(). 2019-04-29 08:25:31 -06:00
Eddie Antonio Santos
4382bccd95
Test empty context/transform. 2019-04-29 08:13:08 -06:00
Eddie Antonio Santos
c8913a4b41
Implement test for non-empty context. 2019-04-29 08:09:41 -06:00
jahorton
6f4969bace Properly manages banner heights. 2019-04-29 15:17:09 +07:00
jahorton
e74f9f2e07 Merge branch 'master' into ios-banner-replacement-image-fix 2019-04-29 14:23:17 +07:00
jahorton
f1848dc6c9 Partial reimplementation of default iOS banner. 2019-04-29 14:19:48 +07:00
Randy Boring
f5a5a9cf52 fully implement downloading a lexical model after downloading a keyboard for its language 2019-04-28 03:45:21 -05:00
Eddie Antonio Santos
7dd22b59bd
Implement looking up a wordform in a trie.
This trie implementation allows for word forms to be converted to keys.
Since keys do not have to have the exact same spelling, capitalization,
or even Unicode normalization form as the desried word form, this
enables a somewhat search for word forms based on prefixes.

The implementation was at one point Conrad Irwin's trie-ing,
<9f1d2e0858?
but has been heavily modfied since.
2019-04-26 16:28:14 -06:00
Eddie Antonio Santos
9415975765
Start tests for new Trie model. 2019-04-26 15:18:49 -06:00
jahorton
b28442ee6b Tweaked reference to class constant. 2019-04-26 15:34:49 +07:00
jahorton
df702dd1b1 Minor documentation tweaks. 2019-04-26 14:32:39 +07:00
jahorton
83e7d58757 A more intuitive 'keep' UX. 2019-04-26 13:43:52 +07:00
jahorton
b335610027 Adds a placeholder '<keep>' option. 2019-04-26 13:27:36 +07:00
jahorton
efe4abe6ec New predictions on change-of-context. 2019-04-26 12:52:12 +07:00