chewing / chewing-editor

Cross platform chewing user phrase editor
https://chewing.im/
GNU General Public License v2.0
31 stars 52 forks source link

The problem of adding new word #150

Open terrynini opened 8 years ago

terrynini commented 8 years ago

I thought the probelm is that if there are space in my Zhuyin then the phrase would be cut into two pieces for example : 豆(ㄉㄡˋ)花(ㄏㄨㄚ )妹(ㄇㄟˋ) because there is a space in "ㄏㄨㄚ ", it would be cut into two pieces , 豆(ㄉㄡˋ)花(ㄏㄨㄚ ) and 妹(ㄇㄟˋ)

but letter I tried 白(ㄅㄞˊ)牧(ㄇㄨˋ)人(ㄖㄣˊ) , the record of this phrase become 白(ㄅㄞˊ) and 牧(ㄇㄨˋ)人(ㄖㄣˊ)

but buttttt if I type 軟(default for Zhuyin ㄖㄨㄢˇ)經天 first time and I select the first word for 阮 then editor later would select 阮 but not 軟 for ㄖㄨㄢˇ , and after I typied it three times ,it had been remebered as 阮經天!!

It seems that editor did not acknowlage the phrase is a phrase if i didn't select word though I type them three times together

david50407 commented 8 years ago

I think this is related to https://github.com/chewing/chewing-editor/issues/99#issuecomment-199414459 Right?

terrynini commented 8 years ago

@david50407 ok SO THE PROBLEM IS ABOUT UserphraseModel.cpp , right?

jserv commented 8 years ago

To distinguish between words in English and Chinese, we clarify the usage to "phrase".