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