W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2013

[IME API]Some Insights from Chinese Input Methods

From: 桌面事业部 <SongTao@sogou-inc.com>
Date: Mon, 16 Dec 2013 10:01:58 +0000
To: "kochi@google.com" <kochi@google.com>, "public-webapps@w3.org" <public-webapps@w3.org>
Message-ID: <8005C8DDA100E54087FA80717926FA487D78AA05@SOGOUEXMB01.sogou-inc.com>
Hello all,

It's very pleased to see we are making a great progress in IME API.

I do appreciate the second part of the spec about Chinese Input Composer and Converter. It's true that Chinese IMEs are very similar to Japanese IMEs. In fact, Chinese IMEs usually use a Phonetic Composer based on Pinyin, which require the users to select the correct character from a candidate window. Here's what I thought after reading the IME API WD as a Chinese input method developer.

1) The compatibility of the InputMethodContext:: oncandidatewindowshow.
Most Chinese input methods use the input and candidate windows which are self-rendered, instead of windows embedded to a certain position. That's why I don't think the oncandidatewindowshow event can tell us whether a window is blocked or not correctly. Why not try Composition Event? How about hiding the suggestion when composition starts, and show it when composition ends?

2) Add support for web app to get the candidate list of IMEs.
For the current suggestion list, we use compositionupdate event to get the content of the input from the users, and construct our request only based on the search of composition string. Could we further the search request with the Candidate String, such as the case of search in Win8? I believe by this the input method and search engine would work together and give the users a better suggestion.

[cid:part1.09070203.02080100@w3.org]


3) Can we extend ime-mode in CSS and use it to hide or show the input method window?
If [2] can be solved, which means we could get a candidate suggestion list, it will make sense to hide the input method window and self-render the suggestion list, which will be very helpful for the input method in web-games. I think the current ime-mode tag is used to star or end a input method, is it possible that we use it to hide or show the input method window some day?

These suggestions comes to me after reading the IME API as well as Composition Event, Composition Interface, Input Method Context Interface. Hope it helps.

--
Song Tao
Desktop Input Method Department
Sougou Inc.




ATT00001.png
(image/png attachment: ATT00001.png)

Received on Monday, 16 December 2013 21:51:32 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:04 UTC