Files updated
[m17n/m17n-db.git] / ta-itrans.mim
1 ;; ta-itrans.mim -- Tamil input method with ITRANS method
2 ;; Copyright (C) 2003, 2004
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 ;;; <li> ta-itrans.mim
25 ;;;
26 ;;; Input method for Tamil script with ITRANS method.  For the detail
27 ;;; of ITRANS, see the page http://www.aczoom.com/itrans/.
28
29 (title "க")
30
31 (map
32  (starter
33   (".") ("~") ("#") ("$") ("^") ("*") ((S-\ )) ((C-@))
34   ("0") ("1") ("2") ("3") ("4")
35   ("5") ("6") ("7") ("8") ("9")
36   ("A") ("C") ("D") ("G") ("H") ("I") ("J") ("K") ("L")
37   ("M") ("N") ("O") ("R") ("S") ("T") ("U") ("Y")
38   ("a") ("b") ("c") ("d") ("e") ("f") ("g") ("h") ("i")
39   ("j") ("k") ("l") ("m") ("n") ("o") ("p") ("q") ("r")
40   ("s") ("t") ("u") ("v") ("w") ("x") ("y") ("z"))
41
42  (consonant
43   ("k" "க்")
44   ("~N" "ங்")
45   ("N^" "ங்")
46   ("ch" "ச்")
47   ("j" "ஜ்")
48   ("~n" "ஞ்")
49   ("JN" "ஞ்")
50   ("T" "ட்")
51   ("N" "ண்")
52   ("t" "த்")
53   ("n" "ந்")
54   ("nh" "ன்")
55   ("p" "ப்")
56   ("m" "ம்")
57   ("y" "ய்")
58   ("r" "ர்")
59   ("rh" "ற்")
60   ("l" "ல்")
61   ("L" "ள்")
62   ("ld" "ள்")
63   ("v" "வ்")
64   ("w" "வ்")
65   ("Sh" "ஷ்")
66   ("shh" "ஷ்")
67   ("s" "ஸ்")
68   ("h" "ஹ்")
69   ("GY" "ஜ்ஞ்")
70   ("dny" "ஜ்ஞ்")
71   ("x" "க்ஷ்"))
72
73  (independent
74   ("a" "அ")
75   ("aa" "ஆ")
76   ("A" "ஆ")
77   ("i" "இ")
78   ("ii" "ஈ")
79   ("I" "ஈ")
80   ("u" "உ")
81   ("uu" "ஊ")
82   ("U" "ஊ")
83   ("E" "ஏ")
84   ("e" "எ")
85   ("ai" "ஐ")
86   ("O" "ஓ")
87   ("o" "ஒ")
88   ("au" "ஔ")
89   (".n" "ஂ")
90   ("M" "ஂ")
91   ("H" "ஃ")
92   (".h" "்")
93   ("1" "௧")
94   ("2" "௨")
95   ("3" "௩")
96   ("4" "௪")
97   ("5" "௫")
98   ("6" "௬")
99   ("7" "௭")
100   ("8" "௮")
101   ("9" "௯")
102   ("#" "்ர")
103   ("$" "ர்")
104   ("^" "த்ர")
105   ((S-\ ) "‌")
106   ((C-@) "‍"))
107
108  (dependent
109   ("a" (delete @-) "")
110   ("aa" (delete @-) "ா")
111   ("A" (delete @-) "ா")
112   ("i" (delete @-) "ி")
113   ("ii" (delete @-) "ீ")
114   ("I" (delete @-) "ீ")
115   ("u" (delete @-) "ு")
116   ("uu" (delete @-) "ூ")
117   ("U" (delete @-) "ூ")
118   ("E" (delete @-) "ே")
119   ("e" (delete @-) "ெ")
120   ("ai" (delete @-) "ை")
121   ("O" (delete @-) "ோ")
122   ("o" (delete @-) "ொ")
123   ("au" (delete @-) "ௌ"))
124
125  (return
126   ((Return)))
127
128  (backspace
129   ((BackSpace) (undo))))
130
131 (state
132  (init
133   (starter (pushback 1) (shift intermediate)))
134
135  (intermediate
136   (consonant (shift second))
137   (independent (shift finish))
138   (backspace)
139   (return (shift init))
140   (nil (shift init)))
141
142  (second
143   (consonant)
144   (dependent (shift finish))
145   (backspace)
146   (return (shift init)))
147
148  (finish
149   (return)
150   (t (shift init))))
151
152 ;; Local Variables:
153 ;; coding: utf-8
154 ;; mode: lisp
155 ;; End: