New file. Modified from ru-kbd.png.
[m17n/m17n-db.git] / MIM / ml-itrans.mim
1 ;; ml-itrans.mim -- Malayalam input method with ITRANS method
2 ;; Copyright (C) 2003, 2004, 2005, 2006, 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 ml itrans)
25
26 (description "Malayalam input method by ITRANS transliteration.
27 For the detail of ITRANS, see the page:
28   <http://www.aczoom.com/itrans/>
29 ")
30
31 (title "ക")
32
33 (map
34  (starter
35   (".") ("~") ("#") ("$") ("^") ("*") ((S-\ )) ((C-@))
36   ("0") ("1") ("2") ("3") ("4")
37   ("5") ("6") ("7") ("8") ("9")
38   ("A") ("C") ("D") ("E") ("G") ("H") ("I") ("J") ("K") ("L")
39   ("M") ("N") ("O") ("R") ("S") ("T") ("U") ("Y")
40   ("a") ("b") ("c") ("d") ("e") ("f") ("g") ("h") ("i")
41   ("j") ("k") ("l") ("m") ("n") ("o") ("p") ("q") ("r")
42   ("s") ("t") ("u") ("v") ("w") ("x") ("y") ("z")
43   ((KP_1)) ((KP_2)) ((KP_3)) ((KP_4)) ((KP_5))
44   ((KP_6)) ((KP_7)) ((KP_8)) ((KP_9)) ((KP_0)))
45
46  (consonant
47   ("k" "ക്")
48   ("kh" "ഖ്")
49   ("g" "ഗ്")
50   ("gh" "ഘ്")
51   ("~N" "ങ്")
52   ("N^" "ങ്")
53   ("ch" "ച്")
54   ("Ch" "ഛ്")
55   ("chh" "ഛ്")
56   ("j" "ജ്")
57   ("jh" "ഝ്")
58   ("~n" "ഞ്")
59   ("JN" "ഞ്")
60   ("T" "ട്")
61   ("Th" "ഠ്")
62   ("D" "ഡ്")
63   ("Dh" "ഢ്")
64   ("N" "ണ്")
65   ("t" "ത്")
66   ("th" "ഥ്")
67   ("d" "ദ്")
68   ("dh" "ധ്")
69   ("n" "ന്")
70   ("p" "പ്")
71   ("ph" "ഫ്")
72   ("b" "ബ്")
73   ("bh" "ഭ്")
74   ("m" "മ്")
75   ("y" "യ്")
76   ("r" "ര്")
77   ("rh" "റ്")
78   ("l" "ല്")
79   ("L" "ള്")
80   ("ld" "ള്")
81   ("v" "വ്")
82   ("w" "വ്")
83   ("sh" "ശ്")
84   ("Sh" "ഷ്")
85   ("shh" "ഷ്")
86   ("s" "സ്")
87   ("h" "ഹ്")
88   ("GY" "ജ്ഞ്")
89   ("dny" "ജ്ഞ്")
90   ("x" "ക്ഷ്"))
91
92  (independent
93   ("a" "അ")
94   ("aa" "ആ")
95   ("A" "ആ")
96   ("i" "ഇ")
97   ("ii" "ഈ")
98   ("I" "ഈ")
99   ("u" "ഉ")
100   ("uu" "ഊ")
101   ("U" "ഊ")
102   ("RRi" "ഋ")
103   ("R^i" "ഋ")
104   ("LLi" "ഌ")
105   ("L^i" "ഌ")
106   ("e" "എ")
107   ("E" "ഏ")
108   ("ee" "ഏ")
109   ("ai" "ഐ")
110   ("o" "ഒ")
111   ("oo" "ഓ")
112   ("O" "ഓ")
113   ("au" "ഔ")
114   (".n" "ം")
115   ("M" "ം")
116   ("H" "ഃ")
117   (".h" "്")
118   ("0" "൦")
119   ("1" "൧")
120   ("2" "൨")
121   ("3" "൩")
122   ("4" "൪")
123   ("5" "൫")
124   ("6" "൬")
125   ("7" "൭")
126   ("8" "൮")
127   ("9" "൯")
128   ("#" "്ര")
129   ("$" "ര്")
130   ("^" "ത്ര")
131   ("*" "ശ്ര")
132   ((KP_1) "൧")
133   ((KP_2) "൨")
134   ((KP_3) "൩")
135   ((KP_4) "൪")
136   ((KP_5) "൫")
137   ((KP_6) "൬")
138   ((KP_7) "൭")
139   ((KP_8) "൮")
140   ((KP_9) "൯")
141   ((KP_0) "൦")
142   ((S-\ ) "‌")
143   ((C-@) "‍"))
144
145  (dependent
146   ("a" (delete @-) "")
147   ("aa" (delete @-) "ാ")
148   ("A" (delete @-) "ാ")
149   ("i" (delete @-) "ി")
150   ("ii" (delete @-) "ീ")
151   ("I" (delete @-) "ീ")
152   ("u" (delete @-) "ു")
153   ("uu" (delete @-) "ൂ")
154   ("U" (delete @-) "ൂ")
155   ("RRi" (delete @-) "ൃ")
156   ("R^i" (delete @-) "ൃ")
157   ("LLi" (delete @-) "")
158   ("L^i" (delete @-) "")
159   ("e" (delete @-) "െ")
160   ("ee" (delete @-) "േ")
161   ("E" (delete @-) "േ")
162   ("ai" (delete @-) "ൈ")
163   ("o" (delete @-) "ൊ")
164   ("oo" (delete @-) "ോ")
165   ("O" (delete @-) "ോ")
166   ("au" (delete @-) "ൌ"))
167
168  (return
169   ((Return)))
170
171  (backspace
172   ((BackSpace) (undo))))
173
174 (state
175  (init
176   (starter (pushback 1) (shift intermediate)))
177
178  (intermediate
179   (consonant (shift second))
180   (independent (shift init))
181   (backspace)
182   (return (shift init)))
183
184  (second
185   (consonant)
186   (dependent (shift init))
187   (backspace)
188   (return (shift init))))
189
190 ;; Local Variables:
191 ;; coding: utf-8
192 ;; mode: emacs-lisp
193 ;; End: