Aleksandras Kostarevas
3ea6a08ccc
Allow re-arranging actionbar
2024-04-18 15:20:08 -05:00
Aleksandras Kostarevas
d2de3dee38
Fix issue causing keyboard to be recreated on any datastore setting change
2024-04-18 13:24:16 -05:00
Aleksandras Kostarevas
8ae3263822
Implement initial swipe typing
2024-04-18 10:29:10 -05:00
Aleksandras Kostarevas
db83e9d4c3
Fix build
2024-04-11 22:40:11 -05:00
Aleksandras Kostarevas
ecafe8f86a
Remove some unneeded code and permissions
2024-04-11 21:47:24 -05:00
Aleksandras Kostarevas
5ba9a1be78
Add build flavors, remove some unused code
2024-04-11 18:00:49 -05:00
Aleksandras Kostarevas
81cc428e92
Add pre-alpha text to spacebar
2024-04-11 00:54:27 -05:00
Aleksandras Kostarevas
725c679eef
Move expert mode to dev settings
2024-04-11 00:19:53 -05:00
Aleksandras Kostarevas
5ba72b33cf
Fix crash related to transformer suggestions
2024-04-11 00:03:22 -05:00
Aleksandras Kostarevas
a225907b4c
Make enter and spacebar less prominent in expert mode
2024-04-10 23:41:24 -05:00
Aleksandras Kostarevas
46eef2d014
Unhide language on spacebar for expert mode
2024-04-10 23:25:24 -05:00
Aleksandras Kostarevas
d5a4a0b4b3
Add option for key borders and other styling options
2024-04-10 23:13:13 -05:00
Aleksandras Kostarevas
2531a74b71
Add emoji key to bottom row and option to disable it
2024-04-10 19:44:59 -05:00
Aleksandras Kostarevas
e7ec9c3d78
Disable emoji key appearing in instant messagers
2024-04-10 19:18:10 -05:00
Aleksandras Kostarevas
cbd75f9799
Fix some race conditions and properly free language model
2024-04-09 23:06:31 -05:00
Aleksandras Kostarevas
389e2efcd6
Rename .java to .kt
2024-04-09 23:06:31 -05:00
Aleksandras Kostarevas
a4bf434ff8
Fix wording on crash reporter
2024-04-09 14:37:18 -05:00
Aleksandras Kostarevas
5460d69669
Update dictionary URL
2024-04-09 13:35:28 -05:00
Aleksandras Kostarevas
15ba128095
Add back http crash report for now
2024-04-02 16:56:53 -05:00
Aleksandras Kostarevas
5649668bfb
Add developer settings menu
2024-04-02 16:56:40 -05:00
Aleksandras Kostarevas
2a4840d794
Switch to email crash reporting
2024-04-02 13:03:48 -05:00
Aleksandras Kostarevas
314df88693
Remove voice input model picker, which is no longer relevant
2024-04-02 12:29:29 -05:00
Aleksandras Kostarevas
20acfb57c6
Update help menu
2024-04-02 11:52:31 -05:00
Aleksandras Kostarevas
c4bd35c921
Display imported dictionary name
2024-04-02 11:25:22 -05:00
Aleksandras Kostarevas
31b5fe933e
Allow deleting imported dictionaries and voice input models
2024-04-01 16:48:39 -05:00
Aleksandras Kostarevas
626477a027
Automatically select correct language for dictionaries, reload dict after import
2024-04-01 15:44:52 -05:00
Aleksandras Kostarevas
1af8bbfd78
Add help screen
2024-04-01 14:54:38 -05:00
Aleksandras Kostarevas
ff29bf5802
Add resource importing (dict/voice/transformer)
2024-04-01 14:31:11 -05:00
Aleksandras Kostarevas
400492870d
Update languages menu
2024-03-30 18:56:47 -05:00
Aleksandras Kostarevas
14fa302f1f
Add languages menu
2024-03-25 13:07:10 -05:00
Aleksandras Kostarevas
ce92ea6845
Suppress InputLogic selection updates during transaction
2024-03-21 22:38:33 -05:00
Aleksandras Kostarevas
21da28ff22
Use batchEdit during voice input transaction
2024-03-21 19:59:51 -05:00
Aleksandras Kostarevas
20f897aa56
Keep screen awake during voice input
2024-03-21 19:34:35 -05:00
Aleksandras Kostarevas
925eda3be7
Remove "it" alias for Italy
2024-03-19 13:17:04 -05:00
Aleksandras Kostarevas
03a028a9fa
Fix some icons being untinted, add haptic vibration setting
2024-03-19 12:35:51 -05:00
Aleksandras Kostarevas
25229530f0
Add missing haptic/sound to compose elements
2024-03-19 12:12:16 -05:00
Aleksandras Kostarevas
b4790b22f7
Fix Voice Input view looking broken
2024-03-18 16:17:11 -05:00
Aleksandras Kostarevas
536460cfd4
Update input logic to better handle combined emoji
2024-03-18 16:00:20 -05:00
Aleksandras Kostarevas
9410e5a825
Use CODE_DELETE instead of KEYCODE_DEL event for delete pointer
2024-03-18 15:06:13 -05:00
Aleksandras Kostarevas
12110e96aa
Add an emoji to badwords list
2024-03-18 13:11:02 -05:00
Aleksandras Kostarevas
0302cbffd9
Filter (most) unsupported emoji from menu for older devices
2024-03-18 13:08:39 -05:00
Aleksandras Kostarevas
ed36c99ff9
Fix emoji tone popup being misplaced for 1 frame
2024-03-18 12:40:20 -05:00
Aleksandras Kostarevas
efac63ac10
Remember selecting emoji suggestions, improve emoji alias picking
2024-03-18 12:32:15 -05:00
Aleksandras Kostarevas
10c08ebda6
Add category separators and recent emoji to emoji menu
2024-03-18 12:08:00 -05:00
Aleksandras Kostarevas
e2c0652eec
Show manual update notice every so often
2024-03-15 13:57:57 -05:00
Aleksandras Kostarevas
00a69a9eab
Update transformer docs URL
2024-03-15 11:13:59 -05:00
Aleksandras Kostarevas
d0fbabf165
Style settings and enter icons
2024-03-15 11:03:02 -05:00
Aleksandras Kostarevas
94dfebca21
Add settings action to more easily access settings
2024-03-15 10:59:13 -05:00
Aleksandras Kostarevas
6490e2941b
Add more update fallbacks in case people are stubborn and block network
2024-03-15 10:47:20 -05:00
Aleksandras Kostarevas
b15d882d77
Improve emoji suggestions
2024-03-15 10:15:16 -05:00
Aleksandras Kostarevas
da9abecce4
Check for updates when settings is launched, show update more often and auto-dismiss it
2024-03-15 10:15:07 -05:00
Aleksandras Kostarevas
91a8e7eb92
Shorten update check interval to 12 hours instead of 48
2024-03-15 09:58:54 -05:00
Aleksandras Kostarevas
0b7c386d11
Make logging less chatty
2024-03-14 15:43:51 -05:00
Aleksandras Kostarevas
455c3741ae
Apply blacklist filter before bothAlgorithmsCameToSameConclusion,
...
allow emoji suggestions after typing a word, allow easily disabling emoji suggestions through long-tapping
2024-03-14 15:40:44 -05:00
Aleksandras Kostarevas
65686b39a0
Make emoji suggestions less aggressive
2024-03-14 15:17:55 -05:00
Aleksandras Kostarevas
cd8499f742
Mitigate OOM during update
2024-03-14 14:45:23 -05:00
Aleksandras Kostarevas
f134517f11
Auto-update improvements
...
1. Keep screen awake during download
2. Maintain download state
3. Cache download, don't re-download if cancelled and restarted
2024-03-14 14:28:13 -05:00
Aleksandras Kostarevas
f7ca151e18
Fix setup looking weird on some devices
2024-03-14 13:51:29 -05:00
Aleksandras Kostarevas
e424f36529
Add option for emoji suggestions
2024-03-13 16:50:53 -05:00
Aleksandras Kostarevas
e209eefd48
Add emoji suggestions
2024-03-13 16:47:17 -05:00
Aleksandras Kostarevas
6c4c6b8965
Request mic permission during setup, add test text field
2024-03-13 15:26:23 -05:00
Aleksandras Kostarevas
350b8e8fcf
Add bad word filtering and blacklisting
2024-03-13 13:31:51 -05:00
Aleksandras Kostarevas
a294d9c4ca
Fix potential crash related to fullContext
2024-03-12 11:44:33 -05:00
Aleksandras Kostarevas
b13e04d3f1
Fix shortcuts
2024-03-07 15:32:58 +02:00
Aleksandras Kostarevas
08947c6e89
Update model name field
2024-03-05 17:00:50 +02:00
Aleksandras Kostarevas
5086f3fa1c
Add toggle for finetuning
2024-03-05 16:19:07 +02:00
Aleksandras Kostarevas
0c95240cff
Update model
2024-03-05 15:57:45 +02:00
Aleksandras Kostarevas
69649256f8
Fix comma key to open settings menu
2024-03-05 15:54:18 +02:00
Aleksandras Kostarevas
c57a3d83af
Add personal dictionary glossary for voice input and keyboard
2024-03-05 15:24:30 +02:00
Aleksandras Kostarevas
42ac255a81
Sync whisper.cpp changes from voice input
2024-03-05 11:06:24 +02:00
Aleksandras Kostarevas
76aad2469b
Fix issue with settings menu losing nav state on screen rotation
2024-02-27 12:07:12 +02:00
Aleksandras Kostarevas
f351a61d42
Add update important notice, download and install update from within the app
2024-02-27 12:06:51 +02:00
Aleksandras Kostarevas
5888f87fd9
Move parameter settings into advanced submenu
2024-02-20 21:20:20 +02:00
Aleksandras Kostarevas
4ebd5efcbc
Fix crash in optimized build
2024-02-20 21:19:53 +02:00
Aleksandras Kostarevas
184bc20b79
Use BinaryDictionary results to double-check and complement Transformer LM
2024-02-20 20:59:39 +02:00
Aleksandras Kostarevas
52bf8b5ba4
Separate model manager code, fix export issue
2024-02-04 16:59:29 +02:00
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
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
413b4fd5ff
Skip the last value in outStrings
2024-01-30 21:19:48 +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
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
ec6969b5c2
Fix Android 14+ FGS type crash
2024-01-17 15:08:07 +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
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
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
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