Autocorrection makes it impossible to start messages "Yo, "

RESOLVED FIXED

Status

Firefox OS
Gaia::Keyboard
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: daleharvey, Unassigned)

Tracking

(Blocks: 1 bug, {feature, regression})

Firefox Tracking Flags

(Not tracked)

Details

99% of my text messages start with "Yo, "

This gets autocorrected to "To, " every time I add the comma
Keywords: feature
Keywords: regression
"yo" is in the dictionary, but "to" is the 6th most common word in the language.

One fix is to alter the dictionary to give "yo" a higher ranking.

Ideally, we'd do this with some kind of override dictionary that allows us, and our partners, to more easily tweak the Android wordlists for this kind of fine-tuning.

I should probably take this bug myself, but am not going to do it just yet.  Anyone with python chops who wants to modify gaia/dictionaries/xml2dict.py to read an override wordlist, should feel free to grab this and ask me to review.
Workaround:

Type "Yo" and then choose "Yo" from the suggestions list. It will add a space afterwards. Now hit the "?123" button and hit the Comma key. This will place the comma in the correct location and introduce a space after the comma.

Workaround #2:
Type "Yo," and then hit the backspace key. The autocorrect will undo and "Yo," will be shown.

Comment 3

5 years ago
Ideally it should learn what user types and if "yo" is more frequently used by user than "to" it should not be autocorrected.
This has actually been fixed, the backspace after the comma never used to revert the autocorrection as I expected, it now does

It would be nice to take into account frequency, but I suspect it already has its own bug
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED

Comment 5

4 years ago
This is a fundamental problem. I just ran into the same problem. I try to enter "Mt.", which is an abbr, e.g. for "Mount", but it gets autocorrected into "my" every time. This is highly annoying when you actually do want to type "Mt.".

The autocorrection is supposed to help, and must not get into the way, otherwise it fails its counterproductive.

There are many things that could and must stop this, but none do. *All* (not just one) of these must be in place to avoid annoying the user:

* There is no button on the virtual keyboard that I can tap to say "no, you (the computer) were wrong and I (the human user) was right, revert your 'correction'".
* If I manually delete last characters to correct the "autocorrection", and re-type, the code makes the same mistake again. When I do that, it *must* notice that what I typed is correct, and not only leave it alone, but save it for the next time, to never make that mistake again.
* Short terms (<5 characters) that end with a dot are likely to be abbr. Don't try to turn them into words, but leave them alone.
* I have no way to stop the autocorrection on that screen. (E.g. a "settings" button right on the keyboard, compare Android.) (Luckily, I can disable the autocorrection in system settings.)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: Autocorrection makes it impossible to start messages "Yo, " → Autocorrection is overzealous, makes it impossible to start messages "Yo, " and similar

Updated

4 years ago
Blocks: 944856

Comment 6

4 years ago
I've now filed bug 944856 about comment 5 above.
Status: REOPENED → RESOLVED
Last Resolved: 5 years ago4 years ago
Resolution: --- → FIXED

Updated

4 years ago
Summary: Autocorrection is overzealous, makes it impossible to start messages "Yo, " and similar → Autocorrection makes it impossible to start messages "Yo, "
You need to log in before you can comment on or make changes to this bug.