Confirmed users
346
edits
No edit summary |
|||
Line 63: | Line 63: | ||
=== TST Serialization Example === | === TST Serialization Example === | ||
Let's serialize | Let's serialize a TST. Suppose we have a list of word: (See: [[Gaia/System/Keyboard/IME/Latin/Prediction_%26_Auto_Correction#Example_TST]]) | ||
'zila', 'zilian', 'ziliac', 'zart', 'zalarm', 'zset' | |||
The TST looks like this: | |||
[z] | |||
| | |||
[i -> a -> s] | |||
| | | | |||
[l] [r -> l] [e] | |||
| | | | | |||
[a -> i] [t] [a] [t] | |||
| | | |||
[a] [r] | |||
| | | |||
[n -> c] [m] | |||
Suppose the normalized frequency (from 0 to 31, as described above) is: | Suppose the normalized frequency (from 0 to 31, as described above) is: | ||
{| class="wikitable" | {| class="wikitable" |