Bug 858158 (new) - [keyboard] document prediction algorithm and make it tuneable