*** empty log message ***
[m17n/m17n-db.git] / MIM / te-itrans.mim
1 ;; te-itrans.mim -- Telugu 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
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 te itrans)
25
26 (description "Telugu 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   ("kh" "ఖ్")
49   ("g" "గ్")
50   ("gh" "ఘ్")
51   ("~N" "ఙ్")
52   ("N^" "ఙ్")
53   ("ch" "చ్")
54   ("Ch" "ఛ్")
55   ("chh" "ఛ్")
56   ("j" "జ్")
57   ("jh" "ఝ్")
58   ("~n" "ఞ్")
59   ("JN" "ఞ్")
60   ("T" "ట్")
61   ("Th" "ఠ్")
62   ("D" "డ్")
63   ("Dh" "ఢ్")
64   ("N" "ణ్")
65   ("t" "త్")
66   ("th" "థ్")
67   ("d" "ద్")
68   ("dh" "ధ్")
69   ("n" "న్")
70   ("p" "ప్")
71   ("ph" "ఫ్")
72   ("b" "బ్")
73   ("bh" "భ్")
74   ("m" "మ్")
75   ("y" "య్")
76   ("r" "ర్")
77   ("R" "ఱ్")
78   ("rh" "ఱ్")                               ; not in ITRANS Telugu table
79   ("l" "ల్")
80   ("L" "ళ్")
81   ("ld" "ళ్")                               ; not in ITRANS Telugu table
82   ("v" "వ్")
83   ("w" "వ్")
84   ("sh" "శ్")
85   ("Sh" "ష్")
86   ("shh" "ష్")
87   ("s" "స్")
88   ("h" "హ్")
89   ("GY" "జ్ఞ్")                         ; not in ITRANS Telugu table
90   ("dny" "జ్ఞ్")                        ; not in ITRANS Telugu table
91   ("x" "క్ష్"))
92
93  (independent
94   ("a" "అ")
95   ("aa" "ఆ")
96   ("A" "ఆ")
97   ("i" "ఇ")
98   ("ii" "ఈ")
99   ("I" "ఈ")
100   ("u" "ఉ")
101   ("uu" "ఊ")
102   ("U" "ఊ")
103   ("RRi" "ఋ")
104   ("R^i" "ఋ")
105   ("LLi" "ఌ")
106   ("L^i" "ఌ")
107   ("e" "ఎ")
108   ("E" "ఏ")
109   ("ee" "ఏ")                          ; not in ITRANS Telugu table
110   ("ai" "ఐ")
111   ("o" "ఒ")
112   ("O" "ఓ")
113   ("oo" "ఓ")                          ; not in ITRANS Telugu table
114   ("au" "ఔ")
115   ("RRI" "ౠ")
116   ("R^I" "ౠ")
117   ("LLI" "ౡ")
118   ("L^I" "ౡ")
119   (".N" "ఁ")                          ; not in ITRANS Telugu table
120   (".n" "ం")
121   ("M" "ం")                           ; not in ITRANS Telugu table
122   ("H" "ః")
123   (".h" "్")                          ; not in ITRANS Telugu table
124   ;; (".a" "ఽ")                               ; not in Unicode 4.1
125   ("0" "౦")
126   ("1" "౧")
127   ("2" "౨")
128   ("3" "౩")
129   ("4" "౪")
130   ("5" "౫")
131   ("6" "౬")
132   ("7" "౭")
133   ("8" "౮")
134   ("9" "౯")
135   ("#" "్ర")                                ; not in ITRANS Telugu table
136   ("$" "ర్")                                ; not in ITRANS Telugu table
137   ("^" "త్ర")                             ; not in ITRANS Telugu table
138   ("*" "శ్ర")                             ; not in ITRANS Telugu table
139   ((KP_1) "౧")
140   ((KP_2) "౨")
141   ((KP_3) "౩")
142   ((KP_4) "౪")
143   ((KP_5) "౫")
144   ((KP_6) "౬")
145   ((KP_7) "౭")
146   ((KP_8) "౮")
147   ((KP_9) "౯")
148   ((KP_0) "౦")
149   ((S-\ ) "‌")                                ; not in ITRANS Telugu table
150   ((C-@) "‍"))                                ; not in ITRANS Telugu table
151
152  (dependent
153   ("a" (delete @-) "")
154   ("aa" (delete @-) "ా")
155   ("A" (delete @-) "ా")
156   ("i" (delete @-) "ి")
157   ("ii" (delete @-) "ీ")
158   ("I" (delete @-) "ీ")
159   ("u" (delete @-) "ు")
160   ("uu" (delete @-) "ూ")
161   ("U" (delete @-) "ూ")
162   ("RRi" (delete @-) "ృ")
163   ("R^i" (delete @-) "ృ")
164   ("RRI" (delete @-) "ౄ")
165   ("R^I" (delete @-) "ౄ")
166   ("e" (delete @-) "ె")
167   ("E" (delete @-) "ే")
168   ("ee" (delete @-) "ే")              ; not in ITRANS Telugu table
169   ("ai" (delete @-) "ై")
170   ("o" (delete @-) "ొ")
171   ("O" (delete @-) "ో")
172   ("oo" (delete @-) "ో")              ; not in ITRANS Telugu table
173   ("au" (delete @-) "ౌ"))
174
175  (return
176   ((Return)))
177
178  (backspace
179   ((BackSpace) (undo))))
180
181 (state
182  (init
183   (starter (pushback 1) (shift intermediate)))
184
185  (intermediate
186   (consonant (shift second))
187   (independent (shift init))
188   (backspace)
189   (return (shift init)))
190
191  (second
192   (consonant)
193   (dependent (shift init))
194   (backspace)
195   (return (shift init))))
196
197 ;; Local Variables:
198 ;; coding: utf-8
199 ;; mode: emacs-lisp
200 ;; End: