futo-org / android-keyboard

Offical FUTO Keyboard Issue Tracker and Source Mirror of https://gitlab.futo.org/keyboard/latinime
Other
691 stars 23 forks source link

Prevent Autocorrect on Already Valid Words #522

Open BurntVoxel opened 1 month ago

BurntVoxel commented 1 month ago

What happened?

Often I'll type a word that gets replaced with another, even if the actual input was a valid word already. For example, earlier I typed "...when I switch to", but autocorrect insisted on "when I switch stretch", it happened five times. Each time was correctly spelled, yet it insisted on the correction until I interacted with the word suggestion list.

It happened again while writing this, "Each time was correctly completely", twice, but retyping it a third time stuck.

Keyboard Version

0.1.23.2-playstore

Text field info

Many places.

dean-futo commented 5 days ago

464 is very similar to this, more focusing on not recognizing common slang words than not recognizing common dictionary words—both of which should be considered 'valid' words. Merging that issue into this one. Recognition should be at the level of both urban dictionary and common dictionary.

dean-futo commented 23 hours ago

@BurntVoxel I'm not able to reproduce this. I tried those examples you gave multiple times and it didn't replace the word with an incorrect word. Will you please provide a video of you reproducing this?

BurntVoxel commented 21 hours ago

It's a tricky one, I couldn't find one that consistently sets it off... The app did update since I posted the bug originally, too, so who knows, maybe something else you fixed somehow affected this too.

I'll keep using the keyboard without gesture typing for a while. If I see the bug again I'll record myself retyping an article or something until it happens again.

BurntVoxel commented 11 hours ago

I can confirm that on a fresh start, "ur" -> "it" is still happening, at least. But I haven't seen it with any words you wouldn't expect yet... v0.1.24-rc1-playstore

... I wonder if it was my fault, maybe I misconfigured something. Does this sound like the kind of issue that would crop up if I had played with Settings > Text Prediction > Advanced Parameters, either Transformer LM Strength or Autocorrect Threshold? I thought I'd put it back after experimenting, but I could be wrong. Or I could've tried to reset the sliders and been a little off. I can't say for sure, I've reset in the time since the original post.

... This must be really annoying, I apologize for not being more careful with testing and reporting.