Since there is no probability information for users' custom phrases, they should be stored in a format differs from data.txt. Using the same format and FastLM to parse user phrases just because of laziness but it is not the right way. The pull request adds a new language model class to parse user phrases. It also update the input method controller to adopt the new user phrase format. |
||
|---|---|---|
| .. | ||
| Gramambular | ||
| Mandarin | ||
| OpenVanilla | ||
| FastLM.cpp | ||
| FastLM.h | ||
| McBopomofoLM.cpp | ||
| McBopomofoLM.h | ||
| UserOverrideModel.cpp | ||
| UserOverrideModel.h | ||
| UserPhrasesLM.cpp | ||
| UserPhrasesLM.h | ||