Ignore predictions for auto-completion if they're too different from original input
Bug #1347796 reported by
Michael Sheldon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-keyboard |
Fix Released
|
High
|
Michael Sheldon | ||
ubuntu-keyboard (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
ubuntu-keyboard (Ubuntu RTM) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We should measure the Levenshtein distance between the user's input and the primary prediction candidate. If this passes a certain threshold (meaning that the two are very different) we should disable auto-completion and enter the user's word instead.
Related branches
lp:~michael-sheldon/ubuntu-keyboard/fix-1347796
- Bill Filler (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 141 lines (+65/-0)7 files modifiedplugins/pinyin/src/chineselanguagefeatures.cpp (+5/-0)
plugins/pinyin/src/chineselanguagefeatures.h (+1/-0)
plugins/westernsupport/westernlanguagefeatures.cpp (+5/-0)
plugins/westernsupport/westernlanguagefeatures.h (+1/-0)
src/lib/logic/abstractlanguagefeatures.h (+4/-0)
src/lib/logic/wordengine.cpp (+48/-0)
src/lib/logic/wordengine.h (+1/-0)
Changed in ubuntu-keyboard: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in ubuntu-keyboard (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in ubuntu-keyboard: | |
status: | In Progress → Fix Released |
Changed in canonical-devices-system-image: | |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
milestone: | none → ww05-2015 |
status: | In Progress → Fix Released |
Changed in ubuntu-keyboard (Ubuntu RTM): | |
status: | New → Fix Released |
To post a comment you must log in.
this would be a very good usability fix