dongyuwei / hallelujahIM

hallelujahIM(哈利路亚 英文输入法) is an intelligent English input method with auto-suggestions and spell check features.
GNU General Public License v3.0
2.17k stars 116 forks source link

Feature request: add user-defined dictionary #89

Open szsdk opened 4 years ago

szsdk commented 4 years ago

When I write some scientific stuff, I need to use some words which are not in the default dictionary or even non-English words. I know I can use the you_expand_me to make a workaround. But the expansion and the dictionary are still two different things. I think this function would be quite related to this issue --- https://github.com/dongyuwei/hallelujahIM/issues/85#issue-638255749 .

dongyuwei commented 4 years ago

Okay, it's doable. Another thing is the trie data structure is prebuilt && serialized in dictionary/google_227800_words.bin, we need a way to build the trie and sync it in runtime.

dongyuwei commented 4 years ago

Another important thing is how to set the frequencies of new words.