mozilla-b2g/gaia — pull request #2493 by RudyLu (2012-07-17 07:46:47+00:00)
Title: The first version of predictive text from Android solution to address #1287

This is the first version of pure JavaScript implementation of Android's predictive text feature.

Note:
1. The predictive text feature is disabled by default, because the performance is not optimized.
It works well on SGS2, but on Otoro, it may take more than 1 sec to show the suggestions.

2. **How to enable** - Uncomment L87 of apps/keyboard/js/layout.js
// suggestionEngine: 'predictive_text',

3. The dictionary is still a small set and is embedded in the JS file itself.