Ignore predictions for auto-completion if they're too different from original input

Bug #1347796 reported by Michael Sheldon
6
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.

Tags: ota-1 rtm14

Related branches

Bill Filler (bfiller)
Changed in ubuntu-keyboard:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Bill Filler (bfiller) wrote :

this would be a very good usability fix

tags: added: rtm14
Changed in ubuntu-keyboard:
status: Confirmed → In Progress
Revision history for this message
Olli Ries (ories) wrote :

please fix _after_ RTM in an OTA

tags: added: ota-1
Bill Filler (bfiller)
Changed in ubuntu-keyboard (Ubuntu):
status: New → In Progress
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-keyboard - 0.99.trunk.phablet2+15.04.20141119-0ubuntu1

---------------
ubuntu-keyboard (0.99.trunk.phablet2+15.04.20141119-0ubuntu1) vivid; urgency=low

  [ Michael Sheldon ]
  * Send release signal for backspace if the user has swiped out of the
    key before releasing (LP: #1385518)
  * Calculate the similarity between the current user's input and the
    prediction candidate, if they differ too much make the user input
    the primary candidate for auto-completion. (LP: #1347796)
  * Stop the keyboard from updating IME hints whilst it hides (LP:
    #1370609)
  * Allow western language plugins to provide special corrections
    outside of the standard auto-correct engine (e.g. 'i' -> 'I'). (LP:
    #1372948)
  * Add Azerbaijani, Bosnian, Catalan and Croatian layouts
  * Reset the keyboard when the language plugin changes. (LP: #1335002)
  * Don't add duplicate candidates to the word ribbon when a candidate
    is pressed. (LP: #1393487)
  * Scale custom return key labels so that more characters fit and set
    correct default font size (LP: #1384810)

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Dinko Osmankovic <email address hidden> ]
  * Add Azerbaijani, Bosnian, Catalan and Croatian layouts

  [ Mike Sheldon ]
  * Calculate the similarity between the current user's input and the
    prediction candidate, if they differ too much make the user input
    the primary candidate for auto-completion. (LP: #1347796)
  * Allow western language plugins to provide special corrections
    outside of the standard auto-correct engine (e.g. 'i' -> 'I'). (LP:
    #1372948)
 -- Ubuntu daily release <email address hidden> Wed, 19 Nov 2014 15:40:20 +0000

Changed in ubuntu-keyboard (Ubuntu):
status: In Progress → Fix Released
Changed in ubuntu-keyboard:
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: New → In Progress
Bill Filler (bfiller)
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 report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.