*** empty log message ***
[m17n/m17n-db.git] / MIM / ta-itrans.mim
1 ;; ta-itrans.mim -- Tamil input method with ITRANS method
2 ;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
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., 51 Franklin Street, Fifth Floor,
22 ;; Boston, MA 02110-1301, USA.
23
24 (input-method ta itrans)
25
26 (description "Tamil 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   ((KP_1)) ((KP_2)) ((KP_3)) ((KP_4)) ((KP_5))
44   ((KP_6)) ((KP_7)) ((KP_8)) ((KP_9)) ((KP_0)))
45
46  (consonant
47   ("k" "க்")
48   ("g" "க்")
49   ("~N" "ங்")
50   ("N^" "ங்")
51   ("ch" "ச்")
52   ("j" "ஜ்")
53   ("~n" "ஞ்")
54   ("JN" "ஞ்")                               ; not in ITRANS Tamil table
55   ("T" "ட்")
56   ("Th" "ட்")
57   ("N" "ண்")
58   ("t" "த்")
59   ("th" "த்")
60   ("n" "ந்")
61   ("^n" "ன்")
62   ("nh" "ன்")                               ; not in ITRANS Tamil table
63   ("p" "ப்")
64   ("b" "ப்")
65   ("m" "ம்")
66   ("y" "ய்")
67   ("r" "ர்")
68   ("R" "ற்")
69   ("rh" "ற்")                               ; not in ITRANS Tamil table
70   ("l" "ல்")
71   ("L" "ள்")
72   ("ld" "ள்")
73   ("J" "ழ்")
74   ("z" "ழ்")
75   ("v" "வ்")
76   ("w" "வ்")
77   ("sh" "ஶ்")
78   ("Sh" "ஷ்")
79   ("shh" "ஷ்")                              ; not in ITRANS Tamil table
80   ("s" "ஸ்")
81   ("h" "ஹ்")
82   ("GY" "ஜ்ஞ்")                         ; not in ITRANS Tamil table
83   ("dny" "ஜ்ஞ்")                        ; not in ITRANS Tamil table
84   ("x" "க்ஷ்")
85   ("ksh" "க்ஷ்"))
86
87  (independent
88   ("a" "அ")
89   ("aa" "ஆ")
90   ("A" "ஆ")
91   ("i" "இ")
92   ("ii" "ஈ")
93   ("I" "ஈ")
94   ("u" "உ")
95   ("uu" "ஊ")
96   ("U" "ஊ")
97   ("e" "எ")
98   ("E" "ஏ")
99   ("ee" "ஏ")                          ; not in ITRANS Tamil table
100   ("ai" "ஐ")
101   ("o" "ஒ")
102   ("O" "ஓ")
103   ("oo" "ஓ")                          ; not in ITRANS Tamil table
104   ("au" "ஔ")
105   (".n" "ஂ")                          ; not in ITRANS Tamil table
106   ("M" "ஂ")                           ; not in ITRANS Tamil table
107   ("q" "ஃ")
108   ("H" "ஃ")                           ; not in ITRANS Tamil table
109   (".h" "்")                          ; not in ITRANS Tamil table
110   ("0" "௦")
111   ("1" "௧")
112   ("2" "௨")
113   ("3" "௩")
114   ("4" "௪")
115   ("5" "௫")
116   ("6" "௬")
117   ("7" "௭")
118   ("8" "௮")
119   ("9" "௯")
120   ("#" "்ர")                                ; not in ITRANS Tamil table
121   ("$" "ர்")                                ; not in ITRANS Tamil table
122   ("^" "த்ர")                             ; not in ITRANS Tamil table
123   ((KP_1) "௧")
124   ((KP_2) "௨")
125   ((KP_3) "௩")
126   ((KP_4) "௪")
127   ((KP_5) "௫")
128   ((KP_6) "௬")
129   ((KP_7) "௭")
130   ((KP_8) "௮")
131   ((KP_9) "௯")
132   ((KP_0) "௦")
133   ((S-\ ) "‌")                                ; not in ITRANS Tamil table
134   ((C-@) "‍")                         ; not in ITRANS Tamil table
135   ("SRI" "ஶ்ரீ"))
136
137  (dependent
138   ("a" (delete @-) "")
139   ("aa" (delete @-) "ா")
140   ("A" (delete @-) "ா")
141   ("i" (delete @-) "ி")
142   ("ii" (delete @-) "ீ")
143   ("I" (delete @-) "ீ")
144   ("u" (delete @-) "ு")
145   ("uu" (delete @-) "ூ")
146   ("U" (delete @-) "ூ")
147   ("e" (delete @-) "ெ")
148   ("E" (delete @-) "ே")
149   ("ee" (delete @-) "ே")              ; not in ITRANS Tamil table
150   ("ai" (delete @-) "ை")
151   ("o" (delete @-) "ொ")
152   ("O" (delete @-) "ோ")
153   ("oo" (delete @-) "ோ")              ; not in ITRANS Tamil table
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   (nil (shift init)))
172
173  (second
174   (consonant)
175   (dependent (shift init))
176   (backspace)
177   (return (shift init))))
178
179 ;; Local Variables:
180 ;; coding: utf-8
181 ;; mode: emacs-lisp
182 ;; End: