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