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 Supports both Atomic and Non-Atomic Malayalam Chillu characters.
27 For the details, see the page:
28 <http://chithrangal.blogspot.com/2012/02/ml-mozhi.html>
35 (".") ("~") ("#") ("$") ("^") ("*") ((S-\ )) ((C-@))
36 ("0") ("1") ("2") ("3") ("4") ("~") ("=")
37 ("5") ("6") ("7") ("8") ("9") ("_")
38 ("A") ("C") ("D") ("G") ("H") ("I") ("J") ("K") ("L")
39 ("M") ("N") ("O") ("R") ("S") ("T") ("U") ("Y")
40 ("B") ("J") ("P") ("E") ("V") ("W")
41 ("a") ("b") ("c") ("d") ("e") ("f") ("g") ("h") ("i")
42 ("j") ("k") ("l") ("m") ("n") ("o") ("p") ("q") ("r")
43 ("s") ("t") ("u") ("v") ("w") ("x") ("y") ("z"))
208 ("aa" (delete @-) "ാ")
209 ("A" (delete @-) "ാ")
210 ("i" (delete @-) "ി")
211 ("ii" (delete @-) "ീ")
212 ("ee" (delete @-) "ീ")
213 ("I" (delete @-) "ീ")
214 ("u" (delete @-) "ു")
215 ("uu" (delete @-) "ൂ")
216 ("U" (delete @-) "ൂ")
217 ("oo" (delete @-) "ൂ")
218 ("R" (delete @-) "ൃ")
219 ("^" (delete @-) "ൃ")
220 ("RRi" (delete @-) "ൃ")
221 ("R^i" (delete @-) "ൃ")
222 ("LLi" (delete @-) "")
223 ("L^i" (delete @-) "")
224 ("E" (delete @-) "േ")
225 ("e" (delete @-) "െ")
226 ("ai" (delete @-) "ൈ")
227 ("O" (delete @-) "ോ")
228 ("o" (delete @-) "ൊ")
229 ("au" (delete @-) "ൗ"))
236 ((BackSpace) (undo))))
240 (starter (pushback 1) (shift intermediate)))
243 (consonant (shift second))
244 (independent (shift finish))
246 (return (shift init)))
250 (dependent (shift finish))
252 (return (shift init)))