Move word prediction and error correction into dedicated class
authorMichael Hasselmann <michaelh@openismus.com>
Fri, 23 Mar 2012 22:57:14 +0000 (23:57 +0100)
committerMichael Hasselmann <michaelh@openismus.com>
Sat, 31 Mar 2012 22:49:23 +0000 (00:49 +0200)
commit6e006a96d91aa25616341afa8647c1c734f8bf07
treeb9daaeec40673c12dbe07e0ee4096d72af28f31b
parent5ab24eaec241d8e2d0cf91aa29b5929b48916e8d
Move word prediction and error correction into dedicated class

RevBy: TrustMe
MaliitKeyboard::WordEngine provides error correction based on preedit (default
engine: hunspell) and word predication based on surrounding text and preedit
(default engine: presage). WordEngine is a consumer of the shared Model::Text
master copy, but does not modify it.
maliit-keyboard/lib/logic/layoutupdater.cpp
maliit-keyboard/lib/logic/layoutupdater.h
maliit-keyboard/lib/logic/logic.pri
maliit-keyboard/lib/logic/wordengine.cpp [new file with mode: 0644]
maliit-keyboard/lib/logic/wordengine.h [new file with mode: 0644]