(map:commit-preedit): Add SPC.
[m17n/m17n-db.git] / MIM / bo-wylie.mim
1 ;; bo-wylie.mim -- Tibetan input method with Wylie method
2 ;; Copyright (C) 2003, 2004, 2005, 2007
3 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
4 ;;   Registration Number H15PRO112
5
6 ;; This file is part of the m17n database; a sub-part of the m17n
7 ;; library.
8
9 ;; The m17n library is free software; you can redistribute it and/or
10 ;; modify it under the terms of the GNU Lesser General Public License
11 ;; as published by the Free Software Foundation; either version 2.1 of
12 ;; the License, or (at your option) any later version.
13
14 ;; The m17n library is distributed in the hope that it will be useful,
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 ;; Lesser General Public License for more details.
18
19 ;; You should have received a copy of the GNU Lesser General Public
20 ;; License along with the m17n library; if not, write to the Free
21 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 ;; Boston, MA 02110-1301, USA.
23
24 (input-method bo wylie)
25
26 (description "Tibetan input method based on the Wylie transliteration.
27 It is actually the re-implementation of Emacs' tibetan-wylie input method,
28 and is slightly different from Extended Wylie Transliteration Scheme (EWTS).
29 The exact EWTS-based input method is in bo-ewts.mim.")
30
31 (title "ཀ")
32 (map
33  (consonant
34   ("'" "འ")
35   ("A" "ཨ")
36   ("D" "ཌ")
37   ("DH" "ཌྷ")
38   ("H" "ཧ")
39   ("N" "ཎ")
40   ("R" "ཪ")
41   ("SH" "ཥ")
42   ("T" "ཊ")
43   ("TH" "ཋ")
44   ("b" "བ")
45   ("bh" "བྷ")
46   ("bl" "བླ")
47   ("bld" "བལྡ")
48   ("blt" "བལྟ")
49   ("br" "བྲ")
50   ("brd" "བརྡ")
51   ("brdz" "བརྫ")
52   ("brg" "བརྒ")
53   ("brj" "བརྗ")
54   ("brk" "བརྐ")
55   ("brl" "བརླ")
56   ("brn" "བརྣ")
57   ("brng" "བརྔ")
58   ("brny" "བརྙ")
59   ("brt" "བརྟ")
60   ("brts" "བརྩ")
61   ("by" "བྱ")
62   ("c" "ཅ")
63   ("ch" "ཆ")
64   ("cw" "ཅྭ")
65   ("d" "ད")
66   ("dh" "དྷ")
67   ("dr" "དྲ")
68   ("dw" "དྭ")
69   ("dz" "ཛ")
70   ("dzh" "ཛྷ")
71   ("dzr" "ཛྲ")
72   ("g" "ག")
73   ("gh" "གྷ")
74   ("gl" "གླ")
75   ("gr" "གྲ")
76   ("grw" "གྲྭ")
77   ("gw" "གྭ")
78   ("gy" "གྱ")
79   ("h" "ཧ")
80   ("hr" "ཧྲ")
81   ("hw" "ཧྭ")
82   ("j" "ཇ")
83   ("jr" "ཇྲ")
84   ("k" "ཀ")
85   ("kSH" "ཀྵ")
86   ("kh" "ཁ")
87   ("khr" "ཁྲ")
88   ("khw" "ཁྭ")
89   ("khy" "ཁྱ")
90   ("kl" "ཀླ")
91   ("kr" "ཀྲ")
92   ("kw" "ཀྭ")
93   ("ky" "ཀྱ")
94   ("l" "ལ")
95   ("lb" "ལྦ")
96   ("lc" "ལྕ")
97   ("ld" "ལྡ")
98   ("lg" "ལྒ")
99   ("lh" "ལྷ")
100   ("lj" "ལྗ")
101   ("lk" "ལྐ")
102   ("ln" "ལྣ")
103   ("lng" "ལྔ")
104   ("lp" "ལྤ")
105   ("lt" "ལྟ")
106   ("lw" "ལྭ")
107   ("m" "མ")
108   ("mr" "མྲ")
109   ("my" "མྱ")
110   ("n" "ན")
111   ("ng" "ང")
112   ("ny" "ཉ")
113   ("nyw" "ཉྭ")
114   ("p" "པ")
115   ("ph" "ཕ")
116   ("phr" "ཕྲ")
117   ("phy" "ཕྱ")
118   ("phyw" "ཕྱྭ")
119   ("pr" "པྲ")
120   ("py" "པྱ")
121   ("r" "ར")
122   ("rb" "རྦ")
123   ("rd" "རྡ")
124   ("rdz" "རྫ")
125   ("rg" "རྒ")
126   ("rgw" "རྒྭ")
127   ("rgy" "རྒྱ")
128   ("rj" "རྗ")
129   ("rk" "རྐ")
130   ("rky" "རྐྱ")
131   ("rl" "རླ")
132   ("rm" "རྨ")
133   ("rmy" "རྨྱ")
134   ("rn" "རྣ")
135   ("rng" "རྔ")
136   ("rny" "རྙ")
137   ("rt" "རྟ")
138   ("rts" "རྩ")
139   ("rtsw" "རྩྭ")
140   ("rw" "རྭ")
141   ("s" "ས")
142   ("sb" "སྦ")
143   ("sbr" "སྦྲ")
144   ("sby" "སྦྱ")
145   ("sd" "སྡ")
146   ("sg" "སྒ")
147   ("sgr" "སྒྲ")
148   ("sgy" "སྒྱ")
149   ("sh" "ཤ")
150   ("shr" "ཤྲ")
151   ("shw" "ཤྭ")
152   ("sk" "སྐ")
153   ("skr" "སྐྲ")
154   ("sky" "སྐྱ")
155   ("sl" "སླ")
156   ("sm" "སྨ")
157   ("smr" "སྨྲ")
158   ("smy" "སྨྱ")
159   ("sn" "སྣ")
160   ("sng" "སྔ")
161   ("snr" "སྣྲ")
162   ("sny" "སྙ")
163   ("sp" "སྤ")
164   ("spr" "སྤྲ")
165   ("spy" "སྤྱ")
166   ("sr" "སྲ")
167   ("st" "སྟ")
168   ("sts" "སྩ")
169   ("sw" "སྭ")
170   ("t" "ཏ")
171   ("th" "ཐ")
172   ("thr" "ཐྲ")
173   ("tr" "ཏྲ")
174   ("ts" "ཙ")
175   ("tsh" "ཚ")
176   ("tshw" "ཚྭ")
177   ("tsw" "ཙྭ")
178   ("tw" "ཏྭ")
179   ("w" "ཝ")
180   ("y" "ཡ")
181   ("z" "ཟ")
182   ("zh" "ཞ")
183   ("zhw" "ཞྭ")
184   ("zl" "ཟླ")
185   ("zw" "ཟྭ"))
186
187  (subjoined
188   ("+tsh" "ྪ")
189   ("+dzh" "ྫྷ")
190   ("+kSH" "ྐྵ")
191   ("+kh" "ྑ")
192   ("+gh" "ྒྷ")
193   ("+ng" "ྔ")
194   ("+ch" "ྖ")
195   ("+ny" "ྙ")
196   ("+TH" "ྛ")
197   ("+DH" "ྜྷ")
198   ("+th" "ྠ")
199   ("+dh" "ྡྷ")
200   ("+ph" "ྥ")
201   ("+bh" "ྦྷ")
202   ("+ts" "ྩ")
203   ("+dz" "ྫ")
204   ("+zh" "ྮ")
205   ("+sh" "ྴ")
206   ("+SH" "ྵ")
207   ("+k" "ྐ")
208   ("+g" "ྒ")
209   ("+c" "ྕ")
210   ("+j" "ྗ")
211   ("+T" "ྚ")
212   ("+D" "ྜ")
213   ("+N" "ྞ")
214   ("+t" "ྟ")
215   ("+d" "ྡ")
216   ("+n" "ྣ")
217   ("+p" "ྤ")
218   ("+b" "ྦ")
219   ("+m" "ྨ")
220   ("+w" "ྭ")
221   ("+z" "ྯ")
222   ("+'" "ྰ")
223   ("+y" "ྱ")
224   ("+r" "ྲ")
225   ("+l" "ླ")
226   ("+s" "ྶ")
227   ("+h" "ྷ")
228   ("+A" "ྸ")
229   ("+W" "ྺ")
230   ("+Y" "ྻ")
231   ("+R" "ྼ"))
232
233  (non-stacking
234   ("-d" "ད")
235   ("-y" "ཡ"))
236
237  (vowel
238   ("frr" "ཷ")
239   ("fll" "ཹ")
240   ("fa" "ཱ")
241   ("fi" "ཱི")
242   ("fu" "ཱུ")
243   ("fr" "ྲྀ")
244   ("fl" "ླྀ")
245   ("fI" "ཱྀ")
246   ("ai" "ཻ")
247   ("au" "ཽ")
248   ("ee" "ཻ")
249   ("oo" "ཽ")
250   ("a")
251   ("i" "ི")
252   ("u" "ུ")
253   ("e" "ེ")
254   ("o" "ོ")
255   ("E" "ཻ")
256   ("O" "ཽ")
257   ("I" "ྀ")
258   ("," "྄"))
259
260  (modifier
261   ("M" "ཾ")
262   ("~" "ྂ")
263   ("`" "ྃ")
264   ("x" "ྈ")
265   ("X" "ྉ")
266   ("v" "྆")
267   ("V" "྇")
268   ("q" "ྊ")
269   ("Q" "ྋ")
270   ("_/" "༙")
271   ("_o" "༷")
272   ("_O" "༵"))
273
274  (punctuation
275   ("." " ")
276   (":" "ཿ")
277   (" " "་")
278   ("/" "།")
279   ("//" "༎")
280   ("////" "༎ ༎")
281   ("$" "༏")
282   ("/\"" "༐")
283   ("&" "༐")
284   (";" "༑")
285   ("%" "༔")
286   ("!" "༈")
287   ("<" "༼")
288   (">" "༽")
289   ("@" "྅")
290   ("*" "༄༅")
291   ("#" "༄༅༅")
292   ("^" "༆")
293   ("0" "༠")
294   ("1" "༡")
295   ("2" "༢")
296   ("3" "༣")
297   ("4" "༤")
298   ("5" "༥")
299   ("6" "༦")
300   ("7" "༧")
301   ("8" "༨")
302   ("9" "༩")
303   ("-0" "༳")
304   ("-1" "༪")
305   ("-2" "༫")
306   ("-3" "༬")
307   ("-4" "༭")
308   ("-5" "༮")
309   ("-6" "༯")
310   ("-7" "༰")
311   ("-8" "༱")
312   ("-9" "༲")
313   ("|" "ༀ" "༁" "༂" "༃" "༇" "༉" "༊" "༒" "༓" "༕" "༖" "༗" "༘" "༙" "༚" "༛" "༜" "༝" "༞" "༟" "༴" "༶" "༸" "༺" "༻" "༾" "༿" "྾" "྿" "࿀" "࿁" "࿂" "࿃" "࿄" "࿅" "࿆" "࿇" "࿈" "࿉" "࿊" "࿋" "࿌" "࿏")))
314
315 (state
316  (init
317   (consonant (shift svm))
318   (subjoined)
319   (non-stacking (shift svm))
320   (vowel)
321   (modifier)
322   (punctuation))
323
324  (svm
325   (subjoined)
326   (vowel (shift vm))
327   (modifier (shift m)))
328   
329  (vm
330   (vowel)
331   (modifier (shift m)))
332
333  (m
334   (modifier)))
335
336 ;; Local Variables:
337 ;; mode: lisp
338 ;; End: