mozilla-b2g/gaia — pull request #4579 by ckerschb (2012-09-11 21:15:21+00:00)
Title: ranking algo for predictive texting

Quality optimization - putting an explicit ranking algorithm for candidates in place.
E.g. if the input word is 'ab', we have to explicitly push for words starting with 'ab', like 'about' or 'above' and don't solely rely on the editDistance. Same reasoning for upper/lower case words. E.g. input 'A' should rather suggest 'Africa' than 'and'.