Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I'd like SmartPinyin to only show 汉字 with certain tone
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
hiroki
Guru
Guru


Joined: 29 Jul 2003
Posts: 327
Location: @home in germany

PostPosted: Sat Feb 26, 2005 7:40 pm    Post subject: I'd like SmartPinyin to only show 汉字 with certain tone Reply with quote

Hi,

I would like SmartPinyin to only display characters in the candidate list, which have a certain tone.
For example:
I want to input "叫" (jiao4). So I'd like to be able to input (something like) "jiao4" so that the candidate list only contains characters, that have the corresponding PinYin (jiao4). But the list also contains characters like 教, which has the PinYin jiao1. So, how I a achieve what I want?
I tried to input "jiao4", but this will only result in selecting the fourth candidate in the list of jiao-characters (in this case: 脚). And jiao1 (教) is still in the list.

Any way how I can achieve this?

Thank you very much in advance.


Last edited by hiroki on Sun Feb 27, 2005 3:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
liuspider
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 237

PostPosted: Sun Feb 27, 2005 2:32 pm    Post subject: Reply with quote

please enable an option in the configure dialog of scim-pinyin: use tone
Back to top
View user's profile Send private message
liuspider
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 237

PostPosted: Sun Feb 27, 2005 2:40 pm    Post subject: Reply with quote

汉字,not 汉子 :) they have very different meanings: the latter one means strong man
Back to top
View user's profile Send private message
hiroki
Guru
Guru


Joined: 29 Jul 2003
Posts: 327
Location: @home in germany

PostPosted: Sun Feb 27, 2005 3:03 pm    Post subject: Reply with quote

sorry, i mistakenly chose "汉子" cause SmartPinyin gave this as the first one, 汉字 was just the second one. But as I am used that it's the first one.. i didn't check whether it was the correct character or not.

liuspider wrote:
please enable an option in the configure dialog of scim-pinyin: use tone


yes, i have it activated.
but how can i tell SmartPinyin, that i only want jiao with tone 1 ? What do i have to input? something like "jiao1" doesn't work. "jiao+!" doesn't work either (shift+1).
so, could you please tell me how to input the tone? i have the option "use tone" already enabled.

many thanks.
Back to top
View user's profile Send private message
liuspider
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 237

PostPosted: Sun Feb 27, 2005 3:35 pm    Post subject: Reply with quote

I will ask this for you in our official mailing list. Please be tuned.

(I am not a regular scim-pinyin user: I use scim-tables)
Back to top
View user's profile Send private message
ts
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2004
Posts: 97

PostPosted: Sun Feb 27, 2005 6:31 pm    Post subject: Re: I'd like SmartPinyin to only show 汉字 with certain to Reply with quote

You already achieved. 教 have multiple tones (1 & 4). 教书 use the first tone (1), 教育 use the forth tone(4).


hiroki wrote:
Hi,

I would like SmartPinyin to only display characters in the candidate list, which have a certain tone.
For example:
I want to input "叫" (jiao4). So I'd like to be able to input (something like) "jiao4" so that the candidate list only contains characters, that have the corresponding PinYin (jiao4). But the list also contains characters like 教, which has the PinYin jiao1. So, how I a achieve what I want?
I tried to input "jiao4", but this will only result in selecting the fourth candidate in the list of jiao-characters (in this case: 脚). And jiao1 (教) is still in the list.

Any way how I can achieve this?

Thank you very much in advance.
Back to top
View user's profile Send private message
hiroki
Guru
Guru


Joined: 29 Jul 2003
Posts: 327
Location: @home in germany

PostPosted: Sun Feb 27, 2005 7:09 pm    Post subject: Re: I'd like SmartPinyin to only show 汉字 with certain to Reply with quote

ts wrote:
You already achieved. 教 have multiple tones (1 & 4). 教书 use the first tone (1), 教育 use the forth tone(4).


i don't think i have achieve anything. cause hitting 1~4 will only end up in selecting the first~fourth character in the list. when trying to type shift+number then there is no difference either. the list does not change. and i can hardly imagine, that _all_ characters in the list have the tones 1, 2, 3 and 4.
how do you type in SmartPinyin? how do you input the tones?
Back to top
View user's profile Send private message
ts
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2004
Posts: 97

PostPosted: Sun Feb 27, 2005 7:26 pm    Post subject: Re: I'd like SmartPinyin to only show 汉字 with certain to Reply with quote

hiroki wrote:

i don't think i have achieve anything. cause hitting 1~4 will only end up in selecting the first~fourth character in the list. when trying to type shift+number then there is no difference either. the list does not change. and i can hardly imagine, that _all_ characters in the list have the tones 1, 2, 3 and 4.
how do you type in SmartPinyin? how do you input the tones?


I use smart pinyin of scim, which works fine for most pinyin and tones. For jiao3&4, there is no difference; for jiao1&2, I do see the difference.

I use shift+(1-4) to input tone as you did.
Back to top
View user's profile Send private message
hiroki
Guru
Guru


Joined: 29 Jul 2003
Posts: 327
Location: @home in germany

PostPosted: Sun Feb 27, 2005 9:18 pm    Post subject: Re: I'd like SmartPinyin to only show 汉字 with certain to Reply with quote

ts wrote:
I use smart pinyin of scim, which works fine for most pinyin and tones. For jiao3&4, there is no difference; for jiao1&2, I do see the difference.

I use shift+(1-4) to input tone as you did.


hm, well at least for me the it does not seem to work.
OK, it seems to work for 1 & 4, but 2 and 3 don't.
I notice it, cause typing shift+1 (or shift+4) will make a 1 (or 4) appear after the pinyin i typed so far. but doing the same with 2 or 3 doesn't work. it simply return a " or [b]
Back to top
View user's profile Send private message
liuspider
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 237

PostPosted: Mon Feb 28, 2005 12:05 am    Post subject: Reply with quote

ok, I think your problem is related to Germany keyboard layout.

Currently I do not think there are any options to change the keys.

Could you please write a detailed bug report in our bug tracking system? You can find it at http://sf.net/projects/scim
Back to top
View user's profile Send private message
hiroki
Guru
Guru


Joined: 29 Jul 2003
Posts: 327
Location: @home in germany

PostPosted: Mon Feb 28, 2005 6:18 pm    Post subject: Reply with quote

liuspider wrote:
ok, I think your problem is related to Germany keyboard layout.

Currently I do not think there are any options to change the keys.

Could you please write a detailed bug report in our bug tracking system? You can find it at http://sf.net/projects/scim


ok, i now discovered how to type the tones correctly. i just tried several keys / shortcuts, and, yepp, i discovered all tones.

1 -> shift-1
2 -> ctrl-gr-q
3 -> #
4 -> shift-4
5 -> shift-5

that seems to be valid for (at least) the german keyboard layout.
Back to top
View user's profile Send private message
liuspider
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 237

PostPosted: Tue Mar 01, 2005 1:15 am    Post subject: Reply with quote

well done ;)

in US keyboard layout (in China US keyboard is the standard), shift+[1-5] generate:
Code:
!@#$%


this issue will be solved in the next stable version where keyboard layout auto remapping will be done: each input method can specify an default keyboard layout. Say you are using scim-pinyin, and it will remap your keyboard to a US one unless you deactivate scim.
Back to top
View user's profile Send private message
hiroki
Guru
Guru


Joined: 29 Jul 2003
Posts: 327
Location: @home in germany

PostPosted: Tue Mar 01, 2005 7:12 am    Post subject: Reply with quote

liuspider wrote:
...remap your keyboard to a US one unless you deactivate scim.


i don't know whether i will like this or not... of course, yes, the tones would be easier to input. but one of the things i like about scim (or chinese/japanese input in linux) is, that it does _not_ alter my keyboard layout. because then i have to pay attention whether i type Y or Z (Y and Z are exchanged on US/German keyboards"
so the best would be if the next stable release allowed selecting the keyboard-layout and (or?) to redefine some input-method-specific shortcuts ( like tone-input, so i could chose the German equivalents of SHIFT+[1~5] (!"$%) ). that would be great :) but propably not for the next, but next year's release ><.

thanks anyway for your help until now :)
Back to top
View user's profile Send private message
liuspider
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 237

PostPosted: Wed Mar 02, 2005 1:15 pm    Post subject: Reply with quote

without exception, the remapping feature will be available right in the next unstable release (and then stable release).

Yes, you are right, users should be able to define that they want use existing keyboard layout and the mechanism to overwrite some of the key bindings is also required.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum