commit | 895b70b8afd3ba21850ff905e9c1dc2a40fcd061 | [log] [tgz] |
---|---|---|
author | Jean Chalard <jchalard@google.com> | Mon Mar 05 14:27:49 2012 +0900 |
committer | Jean Chalard <jchalard@google.com> | Mon Mar 05 14:27:49 2012 +0900 |
tree | 515a4d115688cab0ccc19b01ad29104a65423bfb | |
parent | 9b01890254c62a30b079bd9f79a30f9541faf11b [diff] |
Move some treatment to a more sensical place. It makes more sense to catch words with the safety net in updateSuggestions() than in showSuggestions(). Also, it's useless to do it in updateBigramPredictions, because the result will always be provably false. This will also help with writing unit tests. Change-Id: Ifab81e6c5a74b1aa75cf85ef7742fee69a98f5ce