*** empty log message ***
[m17n/m17n-db.git] / kn-itrans.mim
1 ;; kn-itrans.mim -- Kannada 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 ;; Tiny change by Hari Prasad Nadig, Kannada l10n Team, kannada.l10n@gmail.com
7 ;; http://kannada.sourceforge.net/  18 Aug 2005. 
8
9 ;; This file is part of the m17n database; a sub-part of the m17n
10 ;; library.
11
12 ;; The m17n library is free software; you can redistribute it and/or
13 ;; modify it under the terms of the GNU Lesser General Public License
14 ;; as published by the Free Software Foundation; either version 2.1 of
15 ;; the License, or (at your option) any later version.
16
17 ;; The m17n library is distributed in the hope that it will be useful,
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20 ;; Lesser General Public License for more details.
21
22 ;; You should have received a copy of the GNU Lesser General Public
23 ;; License along with the m17n library; if not, write to the Free
24 ;; Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
25 ;; 02111-1307, USA.
26
27 (input-method kn itrans)
28
29 (description "Kannada input method by ITRANS transliteration.
30 For the detail of ITRANS, see the page:
31   <http://www.aczoom.com/itrans/>
32 There are few changes from the ITRANS by Hari Prasad Nadig,
33 Kannada l10n Team, kannada.l10n@gmail.com
34   <http://kannada.sourceforge.net>
35 on 18 Aug 2005. 
36 ")
37
38 (title "ಕ")
39
40 (map
41  (starter
42   (".") ("~") ("#") ("$") ("^") ("*") ((S-\ )) ((C-@))
43   ("0") ("1") ("2") ("3") ("4")
44   ("5") ("6") ("7") ("8") ("9")
45   ("A") ("C") ("D") ("E") ("G") ("H") ("I") ("J") ("K") 
46   ("L") ("M") ("N") ("O") ("R") ("S") ("T") ("U") ("Y")
47   ("a") ("b") ("c") ("d") ("e") ("f") ("g") ("h") ("i")
48   ("j") ("k") ("l") ("m") ("n") ("o") ("p") ("q") ("r")
49   ("s") ("t") ("u") ("v") ("w") ("x") ("y") ("z"))
50
51  (consonant
52   ("k" "ಕ್")
53   ("kh" "ಖ್")
54   ("g" "ಗ್")
55   ("gh" "ಘ್")
56   ("~N" "ಙ್")
57   ("N^" "ಙ್")
58   ("ch" "ಚ್")
59   ("Ch" "ಛ್")
60   ("chh" "ಛ್")
61   ("j" "ಜ್")
62   ("jh" "ಝ್")
63   ("~n" "ಞ್")
64   ("JN" "ಞ್")
65   ("T" "ಟ್")
66   ("Th" "ಠ್")
67   ("D" "ಡ್")
68   ("Dh" "ಢ್")
69   ("N" "ಣ್")
70   ("t" "ತ್")
71   ("th" "ಥ್")
72   ("d" "ದ್")
73   ("dh" "ಧ್")
74   ("n" "ನ್")
75   ("p" "ಪ್")
76   ("ph" "ಫ್")
77   ("b" "ಬ್")
78   ("bh" "ಭ್")
79   ("m" "ಮ್")
80   ("y" "ಯ್")
81   ("r" "ರ್")
82   ("rh" "ಱ್")
83   ("l" "ಲ್")
84   ("L" "ಳ್")
85   ("ld" "ಳ್")
86   ("v" "ವ್")
87   ("w" "ವ್")
88   ("sh" "ಶ್")
89   ("Sh" "ಷ್")
90   ("shh" "ಷ್")
91   ("s" "ಸ್")
92   ("h" "ಹ್")
93   ("f" "ೞ್")
94   ("GY" "ಜ್ಞ್")
95   ("dny" "ಜ್ಞ್")
96   ("x" "ಕ್ಷ್"))
97
98  (independent
99   ("a" "ಅ")
100   ("aa" "ಆ")
101   ("A" "ಆ")
102   ("i" "ಇ")
103   ("ii" "ಈ")
104   ("I" "ಈ")
105   ("u" "ಉ")
106   ("uu" "ಊ")
107   ("U" "ಊ")
108   ("Ru" "ಋ")
109   ("R^i" "ಋ")
110   ("Lru" "ಌ")
111   ("L^i" "ಌ")
112   ("ee" "ಏ")
113   ("E" "ಏ")
114   ("e" "ಎ")
115   ("ai" "ಐ")
116   ("O" "ಓ")
117   ("o" "ಒ")
118   ("au" "ಔ")
119   ("RU" "ೠ")
120   ("R^I" "ೠ")
121   ("LRU" "ೡ")
122   ("L^I" "ೡ")
123   (".n" "ಂ")
124   ("M" "ಂ")
125   ("H" "ಃ")
126   (".h" "್")
127   ("0" "೦")
128   ("1" "೧")
129   ("2" "೨")
130   ("3" "೩")
131   ("4" "೪")
132   ("5" "೫")
133   ("6" "೬")
134   ("7" "೭")
135   ("8" "೮")
136   ("9" "೯")
137   ("#" "್ರ")
138   ("$" "ರ್")
139   ((S-\ ) "‌")
140   ((C-@) "‍"))
141
142  (dependent
143   ("a" (delete @-) "")
144   ("aa" (delete @-) "ಾ")
145   ("A" (delete @-) "ಾ")
146   ("i" (delete @-) "ಿ")
147   ("ii" (delete @-) "ೀ")
148   ("I" (delete @-) "ೀ")
149   ("u" (delete @-) "ು")
150   ("uu" (delete @-) "ೂ")
151   ("U" (delete @-) "ೂ")
152   ("RRi" (delete @-) "ೃ")
153   ("R^i" (delete @-) "ೃ")
154   ("LLi" (delete @-) "")
155   ("L^i" (delete @-) "")
156   ("E" (delete @-) "ೇ")
157   ("e" (delete @-) "ೆ")
158   ("ai" (delete @-) "ೈ")
159   ("O" (delete @-) "ೋ")
160   ("o" (delete @-) "ೊ")
161   ("au" (delete @-) "ೌ")
162   ("RRI" (delete @-) "ೄ")
163   ("R^I" (delete @-) "ೄ")
164   ("LLI" (delete @-) "")
165   ("L^I" (delete @-) ""))
166
167  (return
168   ((Return)))
169
170  (backspace
171   ((BackSpace) (undo))))
172
173
174 (state
175  (init
176   (starter (pushback 1) (shift intermediate)))
177
178  (intermediate
179   (consonant (shift second))
180   (independent (shift finish))
181   (backspace)
182   (return (shift init)))
183
184  (second
185   (consonant)
186   (dependent (shift finish))
187   (backspace)
188   (return (shift init)))
189
190  (finish
191   (return)
192   (t (shift init))))
193
194 ;; Local Variables:
195 ;; coding: utf-8
196 ;; mode: lisp
197 ;; End: