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