Confirmed users
346
edits
No edit summary |
|||
Line 1: | Line 1: | ||
See Also: [[Gaia/System/Keyboard/IME/Latin/Prediction_%26_Auto_Correction]] | See Also: [[Gaia/System/Keyboard/IME/Latin/Prediction_%26_Auto_Correction]] | ||
We serialize a dictionary Ternary Search Tree, along with supporting metadata and auxiliary data structures, | |||
into a compact binary blob for the prediction engine to consume. | |||
The [https://github.com/mozilla-b2g/gaia/blob/master/apps/keyboard/js/imes/latin/dictionaries/xml2dict.py xml2dict.py] script | The [https://github.com/mozilla-b2g/gaia/blob/master/apps/keyboard/js/imes/latin/dictionaries/xml2dict.py xml2dict.py] script | ||
is responsible for generating the binary blob. The format of the blob is described in this article. | |||
the | |||
== Header == | == Header == |