| Post Reply | RetroFed Forum Forum Index » Code Review |
| Author | Message | ||
|---|---|---|---|
|
tinkralge
programming.dev
tinkralge@programming.dev Joined: 2023-12-03 |
I wrote a simple algorithm for predictive text that uses preceding words as context. Without looking at prior, it was an attempt as seeing what I could come up with. The goal is for it to be incorporated in chorded input and pick the best candidate for the entered chord with the given context. E.g you've typed "this is the worst" and hit the chord "aet", which word should be chosen? ate? tea? eta? This algorithm is there to answer that. What I'm looking for in the code review in order of importance:
The code is linted and automatically formatted. |
||
| 1 Original | |||
| Post Reply |
Back to top |