You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e01a196
Browse filesBrowse the repository at this point in the historyBrowse files
fix(gesture): learn from a swiped word deleted and retyped (#946)
Swipe corrections were only learned when another suggestion was picked
from the strip. Deleting the swiped word with backspace and typing a
word in its place taught nothing, which is the only way to correct a
swipe with suggestions hidden.
Now the deleted swipe and its other candidates are remembered, and the
first word typed in the same place is recorded in GestureWordBias when
it was one of them. Without suggestion lookups (suggestions hidden and
auto-correct off) letters are committed one by one, so the word is read
from the text at the next separator or swipe. Deleting past the swipe,
a word that was no candidate, incognito mode, fields without
suggestions or Personalized suggestions off record nothing. Picking a
suggestion after a swipe now also respects Personalized suggestions.
- Learns from corrections: when you replace a swiped word with another suggestion, your pick gets a small boost in later swipes where the choice is close. Nothing new is learned in incognito mode.
521
+
- Learns from corrections: when you replace a swiped word with another suggestion, or delete it with backspace and type one of the swipe's other candidates in its place, that word gets a small boost in later swipes where the choice is close. This also works with suggestions hidden. Nothing new is learned in incognito mode or with **Settings → Suggestions → Personalized suggestions** off.
522
522
- Add the library under **Settings → Gestures & swipes → Load gesture typing library**: `standard` builds can download it there, for `offline` builds download the file yourself and load it.
0 commit comments