*** empty log message ***
[m17n/m17n-db.git] / ta-itrans.mim
1 ;; ta-itrans.mim -- Tamil 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., 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
44  (consonant
45   ("k" "க்")
46   ("g" "க்")
47   ("~N" "ங்")
48   ("N^" "ங்")
49   ("ch" "ச்")
50   ("j" "ஜ்")
51   ("~n" "ஞ்")
52   ("JN" "ஞ்")                               ; not in ITRANS Tamil table
53   ("T" "ட்")
54   ("Th" "ட்")
55   ("N" "ண்")
56   ("t" "த்")
57   ("th" "த்")
58   ("n" "ந்")
59   ("^n" "ன்")
60   ("nh" "ன்")                               ; not in ITRANS Tamil table
61   ("p" "ப்")
62   ("b" "ப்")
63   ("m" "ம்")
64   ("y" "ய்")
65   ("r" "ர்")
66   ("R" "ற்")
67   ("rh" "ற்")                               ; not in ITRANS Tamil table
68   ("l" "ல்")
69   ("L" "ள்")
70   ("ld" "ள்")
71   ("J" "ழ்")
72   ("z" "ழ்")
73   ("v" "வ்")
74   ("w" "வ்")
75   ;; ("sh" "ஶ")                               ; not in Unicode 4.1
76   ("Sh" "ஷ்")
77   ("shh" "ஷ்")                              ; not in ITRANS Tamil table
78   ("s" "ஸ்")
79   ("h" "ஹ்")
80   ("GY" "ஜ்ஞ்")                         ; not in ITRANS Tamil table
81   ("dny" "ஜ்ஞ்")                        ; not in ITRANS Tamil table
82   ("x" "க்ஷ்")
83   ("ksh" "க்ஷ்"))
84
85  (independent
86   ("a" "அ")
87   ("aa" "ஆ")
88   ("A" "ஆ")
89   ("i" "இ")
90   ("ii" "ஈ")
91   ("I" "ஈ")
92   ("u" "உ")
93   ("uu" "ஊ")
94   ("U" "ஊ")
95   ("e" "எ")
96   ("E" "ஏ")
97   ("ee" "ஏ")                          ; not in ITRANS Tamil table
98   ("ai" "ஐ")
99   ("o" "ஒ")
100   ("O" "ஓ")
101   ("oo" "ஓ")                          ; not in ITRANS Tamil table
102   ("au" "ஔ")
103   (".n" "ஂ")                          ; not in ITRANS Tamil table
104   ("M" "ஂ")                           ; not in ITRANS Tamil table
105   ("q" "ஃ")
106   ("H" "ஃ")                           ; not in ITRANS Tamil table
107   (".h" "்")                          ; not in ITRANS Tamil table
108   ("1" "௧")
109   ("2" "௨")
110   ("3" "௩")
111   ("4" "௪")
112   ("5" "௫")
113   ("6" "௬")
114   ("7" "௭")
115   ("8" "௮")
116   ("9" "௯")
117   ("#" "்ர")                                ; not in ITRANS Tamil table
118   ("$" "ர்")                                ; not in ITRANS Tamil table
119   ("^" "த்ர")                             ; not in ITRANS Tamil table
120   ((S-\ ) "‌")                                ; not in ITRANS Tamil table
121   ((C-@) "‍"))                                ; not in ITRANS Tamil table
122
123  (dependent
124   ("a" (delete @-) "")
125   ("aa" (delete @-) "ா")
126   ("A" (delete @-) "ா")
127   ("i" (delete @-) "ி")
128   ("ii" (delete @-) "ீ")
129   ("I" (delete @-) "ீ")
130   ("u" (delete @-) "ு")
131   ("uu" (delete @-) "ூ")
132   ("U" (delete @-) "ூ")
133   ("e" (delete @-) "ெ")
134   ("E" (delete @-) "ே")
135   ("ee" (delete @-) "ே")              ; not in ITRANS Tamil table
136   ("ai" (delete @-) "ை")
137   ("o" (delete @-) "ொ")
138   ("O" (delete @-) "ோ")
139   ("oo" (delete @-) "ோ")              ; not in ITRANS Tamil table
140   ("au" (delete @-) "ௌ"))
141
142  (return
143   ((Return)))
144
145  (backspace
146   ((BackSpace) (undo))))
147
148 (state
149  (init
150   (starter (pushback 1) (shift intermediate)))
151
152  (intermediate
153   (consonant (shift second))
154   (independent (shift init))
155   (backspace)
156   (return (shift init))
157   (nil (shift init)))
158
159  (second
160   (consonant)
161   (dependent (shift init))
162   (backspace)
163   (return (shift init))))
164
165 ;; Local Variables:
166 ;; coding: utf-8
167 ;; mode: emacs-lisp
168 ;; End: