chewing / chewing-editor

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

frequency database #161

Open jimmyoic opened 8 years ago

jimmyoic commented 8 years ago

I think maybe we can record the frequency of the words for choosing the vocabulary which the user may prefer when there is the same pronouncement in many vocabularies

For example in ㄇㄧˋㄐㄧˊ we may have 密集 and 秘笈, but the user may prefer the latter one since it is more often to be typed

david50407 commented 8 years ago

Yes we have recorded the frequency in libchewing's database (ref: https://github.com/chewing/libchewing/blob/a495d845c82186c4ba7773ee8cc8bf4c94ac790e/src/userphrase-sql.c#L252). But I don't know if we can change the frequency in editor or not. @czchen is it possible in chewing?

czchen commented 8 years ago

@david50407 It is possible, but user might not know how to set the frequency.

kidwm commented 8 years ago

@czchen libchewing should offer API to adjust weight of phrase higher than another, then we could let use arrange order by themselves.