Input method configuration Dictionary definitions (D) Input translation table (X,T)

Input translation table (X,T)

X <name> <flags>

Use the translation table of input method <name>, with <flags> only.

T <flags> <from-1> <to-1> <from2> <to2> ... <from-n> <to-n> - -

Defines the translation table for the current input method within this file. The first argument <flag> is a 32bit integer in decimal (in V3 the flag can be specified in hex by preceding it with a $ sign) with input method flags:

1 Interpret dots in <to-x> (for tsu in Japanese)
2 Space can be part of codes (V3 only)
4 Do special treatment of Kana-n in display, and append Katakana to list of conversions
8 Learn selections
0x10 Upper->lower before conversion, convert result to Katakana if last letter was upper
0x20 Convert conversion result to Katakana
0x40 Do algorithmic conversion of Hangul
0x80 Space key sends off to application (so you have to use Ctrl+Comma to convert)
0x100 Automatically convert after each keypress. This is used in Chinese input methods.
0x800 Hangul 3-bul-sik
0x1000 Use inline conversion
0x2000 Do not allow non-converted code as choice (V3 only)
0x4000 One candidate is finalized immediately (V3 only)
0x8000 PinYin style popup display (V3 only)

The remaining arguments are n pairs <from-i> <to-i> that specify a translation from <from-i> to <to-i>. Translations are tried in order. If the input matches a prefix of <from-i>, it is mapped to itself. The translation table is terminated with two dash tokens.

eg. 1

X Hangul 72

eg. 2

T 31
n       ん
tt      っ.t
xa      ぁ
a       あ
- -

Otfried Cheong and Enfour, Inc. Version 2.59, December 31, 2000.
Input method configuration Dictionary definitions (D) Input translation table (X,T)