Commit Graph

42466 Commits

Author SHA1 Message Date
Aleksandras Kostarevas
6453c15a21 Merge branch 'lm-2-finetuning-whisperggml' into 'model-metadata'
Add autocorrect threshold to model-metadata branch

See merge request alex/latinime!6
2024-02-03 15:18:27 +00:00
Aleksandras Kostarevas
d797622b0c Update version to 0.1.6 2024-02-01 23:07:33 +02:00
Aleksandras Kostarevas
6d5252e60a Improve avoiding autocorrect w/ URLs/emails 2024-02-01 22:58:08 +02:00
Aleksandras Kostarevas
c7113297fb Add radio selection for threshold 2024-02-01 21:55:56 +02:00
Aleksandras Kostarevas
a59b723365 Bump version to 0.1.5 2024-01-30 21:20:04 +02:00
Aleksandras Kostarevas
413b4fd5ff Skip the last value in outStrings 2024-01-30 21:19:48 +02:00
Aleksandras Kostarevas
ef9d06299e Update version to 0.1.4 2024-01-30 20:31:11 +02:00
Aleksandras Kostarevas
a111164bb8 Improve algorithm in a few ways:
* If the first letter is capital, only capitalized first tokens will be sampled. If the whole text is capitalized, then only fully capital tokens will be sampled for the whole word
* If a word is an exact match, it gets boosted relative to others
* Probability threshold for autocorrect is now 18.0
* Add "clueless" threshold, if it's less than 1.3 then just show the user's typed word in the middle instead.
2024-01-30 20:30:44 +02:00
Aleksandras Kostarevas
3aecbd5ada Fix issue where mOriginatesFromTransformerLM gets lost 2024-01-30 19:59:47 +02:00
Aleksandras Kostarevas
f888ba3353 Fix finetuning, add a finetuning screen, handle errors during importing model, update metadata format, add model exporting 2024-01-30 17:14:02 +02:00
Aleksandras Kostarevas
5bf4492634 Fix embedded tokenizer loading, implement new model management methods, implement model info loading, model importing 2024-01-28 22:40:39 +02:00
Aleksandras Kostarevas
1d4b07566c Add correction confidence threshold 2024-01-27 20:09:13 +02:00
Aleksandras Kostarevas
abc5a74004 Add fallback for getting dictionary resid a more normal way 2024-01-24 02:09:19 +02:00
Aleksandras Kostarevas
0021b6aa04 Model metadata and manager component 2024-01-24 01:03:16 +02:00
Aleksandras Kostarevas
7aea41eede Add decomposeTapPosition fallback for nonintersecting cases 2024-01-22 08:21:27 +02:00
Aleksandras Kostarevas
5e0722c984 Fix issue with apostrophe token being banned 2024-01-22 08:20:55 +02:00
Aleksandras Kostarevas
c53c279155 Update version to 0.1.3 2024-01-17 18:21:07 +02:00
Aleksandras Kostarevas
1ccba84322 Fix some lint warnings and errors, remove some unused classes 2024-01-17 18:18:53 +02:00
Aleksandras Kostarevas
3b85a3f0ec Specify FLAG_IMMUTABLE for pending intent 2024-01-17 15:55:30 +02:00
Aleksandras Kostarevas
9a358d27a7 Update version to 0.1.2 2024-01-17 15:12:49 +02:00
Aleksandras Kostarevas
ec6969b5c2 Fix Android 14+ FGS type crash 2024-01-17 15:08:07 +02:00
Aleksandras Kostarevas
965b17d912 Increase version 2024-01-16 23:40:59 +02:00
Aleksandras Kostarevas
18fd80ef55 Fix Android 14 registerReceiver API change 2024-01-16 23:40:37 +02:00
Aleksandras Kostarevas
dbad61d2e6 Fix non-English dictionary prediction 2024-01-16 21:02:55 +02:00
Aleksandras Kostarevas
ff903bd4a4 Change emoji key to go to new emoji menu 2024-01-16 17:56:45 +02:00
Aleksandras Kostarevas
85010f6d95 Update CI to use new docker image 2024-01-15 21:13:33 +02:00
Aleksandras Kostarevas
74c74c7ba7 Add automatic update checking service 2024-01-15 17:38:46 +02:00
Aleksandras Kostarevas
fda0052c55 Don't use Popup for EmojiAction
Popup would leave leftover dead popups forever after screen orientation change
2024-01-11 22:27:38 +02:00
Aleksandras Kostarevas
93ae0c6338 Update dependencies 2024-01-11 22:26:38 +02:00
Aleksandras Kostarevas
4d5359fb59 Rewrite EmojiAction
* Use RecyclerView for significantly better performance
* Skin tone selector popup
2024-01-11 21:45:22 +02:00
Aleksandras Kostarevas
2188a2b03a Make digits and letters same class 2024-01-11 15:19:09 +02:00
Aleksandras Kostarevas
968b39af24 Improve text selection logic
* Shift + swiping space now lets you select text
* Text editor uses more consistent selection logic instead of sending dpad and relying on apps to implement shift+dpad selection, which many of them don't. Dpad is still used for up/down
2024-01-10 18:42:20 +02:00
Aleksandras Kostarevas
ea07319ecb Fix voice input crash with proguard 2024-01-10 02:24:07 +02:00
Aleksandras Kostarevas
0457a56218 Avoid getString with resid 0 2024-01-09 23:19:33 +02:00
Aleksandras Kostarevas
b5446fb77f Fix missing methods due to proguard 2024-01-09 23:07:04 +02:00
Aleksandras Kostarevas
55d5959f54 Skip non-alphabetic characters during mixing 2024-01-09 18:25:14 +02:00
Aleksandras Kostarevas
25e66ec447 Add ability to expand keyboard during action 2024-01-09 17:26:05 +02:00
Aleksandras Kostarevas
fd905bcabd Move UIX management to separate class 2024-01-09 14:26:54 +02:00
Aleksandras Kostarevas
adfab75086 Update text edit mode 2024-01-09 10:56:14 +02:00
Aleksandras Kostarevas
b237e49ece Add basic text edit mode 2024-01-08 20:23:54 +02:00
Aleksandras Kostarevas
7f17d66072 Add sliding cursor/deletion 2024-01-07 16:22:17 +02:00
Aleksandras Kostarevas
e2999ada34 Add undo, redo, paste actions 2024-01-07 16:20:20 +02:00
Aleksandras Kostarevas
9cccdcb79d Update input logic for actions 2024-01-07 14:29:54 +02:00
Aleksandras Kostarevas
e554745869 Add popup symbols for qwerty 2024-01-07 14:27:12 +02:00
Aleksandras Kostarevas
b75933b321 Update theming for more keys popup 2024-01-07 14:26:09 +02:00
Aleksandras Kostarevas
ebb70b9c12 Fix build, disable gesture input pending model update 2023-12-19 20:28:58 +02:00
Aleksandras Kostarevas
39b46adca2 Disable whisper.cpp pending futher work 2023-12-19 20:21:13 +02:00
Aleksandras Kostarevas
4e9e86d871 Implement multimodal position encoder 2023-12-19 20:02:20 +02:00
Aleksandras Kostarevas
c3018cdd86 Draw emojis in emoji menu asynchronously 2023-12-05 18:07:19 +00:00
Aleksandras Kostarevas
314cf8c84c Type out whisper.cpp result 2023-12-05 18:06:12 +00:00