scribe-org / Scribe-iOS

iOS app with keyboards for language learners
https://apps.apple.com/app/scribe-language-keyboards/id1596613886
GNU General Public License v3.0
131 stars 79 forks source link

Add predictive keystrokes #136

Open andrewtavis opened 2 years ago

andrewtavis commented 2 years ago

Terms

Description

Something that would dramatically improve the usability of Scribe is the addition of predictive keystrokes. After #26 adds key characters popping up after being pressed and #2 and #3 add auto correct and auto complete, the last major element that could be added to the keyboards to improve efficiency would be predicting which key the user will press next and making that key easier to press.

The most basic version of this feature would change the expansions of key press areas within the keyboard key class so that there is a slightly higher chance that a user presses a key based on the previous ones pressed. Future versions of this feature could then expand on this if needed.

Contribution

I’d be very happy to discuss and work on this with people :)

andrewtavis commented 2 years ago

Whether this feature would mimic auto suggest should be discussed: so whether the next letter that follows a given group of letters would be the next letter in the most likely word being typed, or whether a simple average of the next letter in all possible remaining words would be made more likely. As the most likely word would already eventually be suggested in #3, maybe simply saving average expectations and changing click radii based on these would be effective.