1 ;; ta-itrans.mim -- Tamil 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
6 ;; This file is part of the m17n database; a sub-part of the m17n
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.
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.
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.
24 (input-method ta itrans)
26 (description "Tamil input method by ITRANS transliteration.
27 For the detail of ITRANS, see the page:
28 <http://www.aczoom.com/itrans/>
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)))
54 ("JN" "ஞ்") ; not in ITRANS Tamil table
62 ("nh" "ன்") ; not in ITRANS Tamil table
69 ("rh" "ற்") ; not in ITRANS Tamil table
77 ;; ("sh" "ஶ") ; not in Unicode 4.1
79 ("shh" "ஷ்") ; not in ITRANS Tamil table
82 ("GY" "ஜ்ஞ்") ; not in ITRANS Tamil table
83 ("dny" "ஜ்ஞ்") ; not in ITRANS Tamil table
99 ("ee" "ஏ") ; not in ITRANS Tamil table
103 ("oo" "ஓ") ; not in ITRANS Tamil table
105 (".n" "ஂ") ; not in ITRANS Tamil table
106 ("M" "ஂ") ; not in ITRANS Tamil table
108 ("H" "ஃ") ; not in ITRANS Tamil table
109 (".h" "்") ; not in ITRANS Tamil table
120 ("#" "்ர") ; not in ITRANS Tamil table
121 ("$" "ர்") ; not in ITRANS Tamil table
122 ("^" "த்ர") ; not in ITRANS Tamil table
133 ((S-\ ) "") ; not in ITRANS Tamil table
134 ((C-@) "")) ; not in ITRANS Tamil table
138 ("aa" (delete @-) "ா")
139 ("A" (delete @-) "ா")
140 ("i" (delete @-) "ி")
141 ("ii" (delete @-) "ீ")
142 ("I" (delete @-) "ீ")
143 ("u" (delete @-) "ு")
144 ("uu" (delete @-) "ூ")
145 ("U" (delete @-) "ூ")
146 ("e" (delete @-) "ெ")
147 ("E" (delete @-) "ே")
148 ("ee" (delete @-) "ே") ; not in ITRANS Tamil table
149 ("ai" (delete @-) "ை")
150 ("o" (delete @-) "ொ")
151 ("O" (delete @-) "ோ")
152 ("oo" (delete @-) "ோ") ; not in ITRANS Tamil table
153 ("au" (delete @-) "ௌ"))
159 ((BackSpace) (undo))))
163 (starter (pushback 1) (shift intermediate)))
166 (consonant (shift second))
167 (independent (shift init))
169 (return (shift init))
174 (dependent (shift init))
176 (return (shift init))))