Bug 18630

Summary: Feature Request: Is it possible to remember F7 strings in uim-anthy?
Product: UIM Reporter: UTUMI Hirosi <utuhiro78>
Component: OtherAssignee: uim-bugs
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Experimental patch

Description UTUMI Hirosi 2008-11-19 21:43:39 UTC
In MS-IME:
Type "macchapurin" and press F7.
It will be converted to "マッチャプリン".
Type "macchapurin" again and press space.
It will be converted to "マッチャプリン".
MS-IME remembers F7 strings.

In uim-anthy:
Type "macchapurin" and press F7.
It will be converted to "マッチャプリン".
Type "macchapurin" again and press space.
It will be converted to "待っちゃプリン".
Comment 1 Etsushi Kato 2008-11-25 18:53:44 UTC
The limitation is due to the lack of API in libanthy.  However, the attached code will mimic the behavior of same thing with Hiragana and Katakana conversion.  If this is what you want, I'll commit to the repository later.
Comment 2 Etsushi Kato 2008-11-25 18:54:11 UTC
Created attachment 20591 [details] [review]
Experimental patch
Comment 3 UTUMI Hirosi 2008-11-26 01:10:30 UTC
That's what I want. Thank you so much.
I've tested it with uim-1.5.4, anthy-9100e (+ G-HAL's patch13).

macchapurinn + F7 = マッチャプリン
macchapurinn (again) = マッチャプリン
macchapurinn + F6 = まっちゃぷりん
macchapurinn (again) = まっちゃぷりん
maccha|purinn + choose "抹茶" = 抹茶プリン
macchapurinn (again) = 抹茶プリン

Everything works great!
Comment 4 Etsushi Kato 2008-11-26 01:54:00 UTC
OK.  Committed.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.