1 ;; ml-mozhi.mim -- Malayalam input method with ITRANS method
2 ;; Copyright (C) Evuraan at Gmail Dot Com
5 ;; This file is part of the m17n contrib; a sub-part of the m17n
8 ;; The m17n library is free software; you can redistribute it and/or
9 ;; modify it under the terms of the GNU Lesser General Public License
10 ;; as published by the Free Software Foundation; either version 2.1 of
11 ;; the License, or (at your option) any later version.
13 ;; The m17n library is distributed in the hope that it will be useful,
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 ;; Lesser General Public License for more details.
18 ;; You should have received a copy of the GNU Lesser General Public
19 ;; License along with the m17n library; if not, write to the Free
20 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 ;; Boston, MA 02110-1301, USA.
23 (input-method ml mozhi)
25 (description "Malayalam input method.
26 For the details, see the page:
27 <http://chithrangal.blogspot.com/2008/01/m17n-itrans.html>
34 (".") ("~") ("#") ("$") ("^") ("*") ((S-\ )) ((C-@))
35 ("0") ("1") ("2") ("3") ("4") ("~") ("=")
36 ("5") ("6") ("7") ("8") ("9") ("_")
37 ("A") ("C") ("D") ("G") ("H") ("I") ("J") ("K") ("L")
38 ("M") ("N") ("O") ("R") ("S") ("T") ("U") ("Y")
39 ("B") ("J") ("P") ("E") ("V") ("W")
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"))
164 ("aa" (delete @-) "ാ")
165 ("A" (delete @-) "ാ")
166 ("i" (delete @-) "ി")
167 ("ii" (delete @-) "ീ")
168 ("ee" (delete @-) "ീ")
169 ("I" (delete @-) "ീ")
170 ("u" (delete @-) "ു")
171 ("uu" (delete @-) "ൂ")
172 ("U" (delete @-) "ൂ")
173 ("oo" (delete @-) "ൂ")
174 ("RRi" (delete @-) "ൃ")
175 ("R^i" (delete @-) "ൃ")
176 ("^" (delete @-) "ൃ")
177 ("LLi" (delete @-) "")
178 ("L^i" (delete @-) "")
179 ("E" (delete @-) "േ")
180 ("e" (delete @-) "െ")
181 ("ai" (delete @-) "ൈ")
182 ("O" (delete @-) "ോ")
183 ("o" (delete @-) "ൊ")
184 ("au" (delete @-) "ൗ"))
191 ((BackSpace) (undo))))
195 (starter (pushback 1) (shift intermediate)))
198 (consonant (shift second))
199 (independent (shift finish))
201 (return (shift init)))
205 (dependent (shift finish))
207 (return (shift init)))