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