Remove LLi, LLI, and ksh to avoid confliction. Change Lru to LRu.
[m17n/m17n-db.git] / MIM / kn-itrans.mim
1 ;; kn-itrans.mim -- Kannada input method with ITRANS method
2 ;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2010
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., 51 Franklin Street, Fifth Floor,
25 ;; Boston, MA 02110-1301, 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   ((KP_1)) ((KP_2)) ((KP_3)) ((KP_4)) ((KP_5))
51   ((KP_6)) ((KP_7)) ((KP_8)) ((KP_9)) ((KP_0)))
52
53  (consonant
54   ("k" "ಕ್")
55   ("kh" "ಖ್")
56   ("g" "ಗ್")
57   ("gh" "ಘ್")
58   ("~N" "ಙ್")
59   ("N^" "ಙ್")
60   ("ch" "ಚ್")
61   ("Ch" "ಛ್")
62   ("chh" "ಛ್")
63   ("j" "ಜ್")
64   ("jh" "ಝ್")
65   ("~n" "ಞ್")
66   ("JN" "ಞ್")
67   ("T" "ಟ್")
68   ("Th" "ಠ್")
69   ("D" "ಡ್")
70   ("Dh" "ಢ್")
71   ("N" "ಣ್")
72   ("t" "ತ್")
73   ("th" "ಥ್")
74   ("d" "ದ್")
75   ("dh" "ಧ್")
76   ("n" "ನ್")
77   ("p" "ಪ್")
78   ("ph" "ಫ್")
79   ("b" "ಬ್")
80   ("bh" "ಭ್")
81   ("m" "ಮ್")
82   ("y" "ಯ್")
83   ("r" "ರ್")
84   ("rh" "ಱ್")                               ; not in ITRANS Kannada table
85   ("l" "ಲ್")
86   ("L" "ಳ್")
87   ("ld" "ಳ್")                               ; not in ITRANS Kannada table
88   ("v" "ವ್")
89   ("w" "ವ್")                                ; not in ITRANS Kannada table
90   ("sh" "ಶ್")
91   ("Sh" "ಷ್")
92   ("shh" "ಷ್")
93   ("s" "ಸ್")
94   ("h" "ಹ್")
95   ("f" "ೞ್")                                ; not in ITRANS Kannada table
96   ("GY" "ಜ್ಞ್")
97   ("j~n" "ಜ್ಞ್")
98   ("dny" "ಜ್ಞ್")                        ; not in ITRANS Kannada table
99   ("x" "ಕ್ಷ್")
100 ;;;("ksh" "ಕ್ಷ್")                               ; (conflict) commented, to support the ks consonant cluster. For the expected ITRANS "ksh" use x or kSh
101  )
102
103  (independent
104   ("a" "ಅ")
105   ("aa" "ಆ")
106   ("A" "ಆ")
107   ("i" "ಇ")
108   ("ii" "ಈ")
109   ("I" "ಈ")
110   ("u" "ಉ")
111   ("uu" "ಊ")
112   ("U" "ಊ")
113   ("RRi" "ಋ")
114   ("R^i" "ಋ")
115   ("Ru" "ಋ")                          ; not in ITRANS Kannada table
116 ;;;("LLi" "ಌ")                                ; (conflict) commented, to support the LL consonant cluster
117   ("L^i" "ಌ")
118 ;;;("Lru" "ಌ")                                ; not in ITRANS Kannada table ; (objection) LRu is more appropriate
119   ("LRu" "ಌ")                                 ; not in ITRANS Kannada table ; (correction) Replaces "Lru"
120   ("e" "ಎ")
121   ("E" "ಏ")
122   ("ee" "ಏ")                          ; not in ITRANS Kannada table
123   ("ai" "ಐ")
124   ("o" "ಒ")
125   ("O" "ಓ")
126   ("oo" "ಓ")                          ; not in ITRANS Kannada table
127   ("au" "ಔ")
128   ("RRI" "ೠ")
129   ("R^I" "ೠ")
130   ("RU" "ೠ")                          ; not in ITRANS Kannada table
131 ;;;("LLI" "ೡ")                                ; (conflict) commented, to support the LL consonant cluster
132   ("L^I" "ೡ")
133   ("LRU" "ೡ")                         ; not in ITRANS Kannada table
134   (".n" "ಂ")
135   ("M" "ಂ")                           ; not in ITRANS Kannada table
136   ("H" "ಃ")
137   (".h" "್")                          ; not in ITRANS Kannada table
138   (".a" "ಽ")
139   ("0" "೦")
140   ("1" "೧")
141   ("2" "೨")
142   ("3" "೩")
143   ("4" "೪")
144   ("5" "೫")
145   ("6" "೬")
146   ("7" "೭")
147   ("8" "೮")
148   ("9" "೯")
149   ("#" "್ರ")                                ; not in ITRANS Kannada table
150   ("$" "ರ್")                                ; not in ITRANS Kannada table
151   ((KP_1) "೧")
152   ((KP_2) "೨")
153   ((KP_3) "೩")
154   ((KP_4) "೪")
155   ((KP_5) "೫")
156   ((KP_6) "೬")
157   ((KP_7) "೭")
158   ((KP_8) "೮")
159   ((KP_9) "೯")
160   ((KP_0) "೦")
161   ((S-\ ) "‌")                                ; not in ITRANS Kannada table
162   ((C-@) "‍"))                                ; not in ITRANS Kannada table
163
164  (dependent
165   ("a" (delete @-) "")
166   ("aa" (delete @-) "ಾ")
167   ("A" (delete @-) "ಾ")
168   ("i" (delete @-) "ಿ")
169   ("ii" (delete @-) "ೀ")
170   ("I" (delete @-) "ೀ")
171   ("u" (delete @-) "ು")
172   ("uu" (delete @-) "ೂ")
173   ("U" (delete @-) "ೂ")
174   ("RRi" (delete @-) "ೃ")
175   ("R^i" (delete @-) "ೃ")
176   ("Ru" (delete @-) "ೃ")              ; not in ITRANS kannada table ; (consistency) added to sync with the independent "Ru"
177   ("RRI" (delete @-) "ೄ")
178   ("R^I" (delete @-) "ೄ")
179   ("RU" (delete @-) "ೄ")              ; not in ITRANS kannada table ; (consistency) adde to sync with the independent "RU"
180 ;;;("LLi" (delete @-) "ೄ")            ; not in ITRANS Kannada table ; (conflict) commented, to support the LL consonant cluster
181   ("L^i" (delete @-) "ೄ")             ; not in ITRANS Kannada table ; (conflict) commented, to support the LL consonant cluster
182   ("e" (delete @-) "ೆ")
183   ("E" (delete @-) "ೇ")
184   ("ee" (delete @-) "ೇ")              ; not in ITRANS Kannada table
185   ("ai" (delete @-) "ೈ")
186   ("o" (delete @-) "ೊ")
187   ("O" (delete @-) "ೋ")
188   ("oo" (delete @-) "ೋ")              ; not in ITRANS Kannada table
189   ("au" (delete @-) "ೌ")
190 ;;;("LLI" (delete @-) "")               ; not in ITRANS Kannada table ; (conflict) commented, to support the LL consonant cluster
191   ("L^I" (delete @-) "")                ; not in ITRANS Kannada table
192  )
193
194  (return
195   ((Return)))
196
197  (backspace
198   ((BackSpace) (undo))))
199
200 (state
201  (init
202   (starter (pushback 1) (shift intermediate)))
203
204  (intermediate
205   (consonant (shift second))
206   (independent (shift init))
207   (backspace)
208   (return (shift init)))
209
210  (second
211   (consonant)
212   (dependent (shift init))
213   (backspace)
214   (return (shift init))))
215
216 ;; Local Variables:
217 ;; coding: utf-8
218 ;; mode: emacs-lisp
219 ;; End: