Page 1 of 1

Chinese Pinyin Input

Posted: Wed May 04, 2011 10:44 am
by kayro
The selection that I get when I type in characters via Chinese Pinyin input is rather limited.

For example, I cannot type in the following word:

yifu
逸夫

Any way to increase the number of character suggestions that show up?

Re: Chinese Pinyin Input

Posted: Sun Jun 19, 2011 6:37 pm
by theanes
Second that. We need more full chinese dictionary db. Present one is too small, lacking a lot of words. Not sure where the author got the current db, but I suggest look at "Google Pinyin" input has. Not sure about it's license though..

Re: Chinese Pinyin Input

Posted: Mon Jun 20, 2011 8:01 am
by cyril
Do you have other examples? The Chinese language pack IS based on Google Pinyin, so it's a bit surprising ;)

Re: Chinese Pinyin Input

Posted: Mon Jun 20, 2011 9:40 am
by theanes
Ah.. I was just inferring that from the sizes of binary databases in your .apk and Google's. Your's "zh_dic.mp3" is ~ 1.02Mb, and Google's "dict_pinyin.dat" is roughly 1.45MB.. But I guess it's my bad, not knowing exact specifics of development, I shouldn't say..
Looking deeper into it, your application seems to restrict the number of chinese character suggestions to only 12. While others don't restrict it with any defined ( well, maybe they do, but with more slack ) number. Seems like the problem lies into this behavior..?

Re: Chinese Pinyin Input

Posted: Mon Jun 20, 2011 10:47 am
by theanes
And on a sidenote, if one will look up a dictionary, the word "yi" for example, may have correspond up to a hundred different characters (mileage may vary), so only 12 choices given is not what one looking for exactly..

Re: Chinese Pinyin Input

Posted: Mon Jun 20, 2011 12:07 pm
by cyril
theanes wrote:And on a sidenote, if one will look up a dictionary, the word "yi" for example, may have correspond up to a hundred different characters (mileage may vary), so only 12 choices given is not what one looking for exactly..
I will check why this happens, it's probably one line of code to change...

Re: Chinese Pinyin Input

Posted: Mon Jun 20, 2011 7:02 pm
by cyril
Indeed this was really a stupid problem.... Everything IS in the dictionary but suggestions were truncated to 12 on purpose... I changed the limit to 500, there are now many many more suggestions! ;)

You can try this in the latest beta

Re: Chinese Pinyin Input

Posted: Tue Jun 21, 2011 2:45 am
by theanes
Yep, works like a charm.
非常感谢.