*** empty log message ***
[m17n/m17n-db.git] / knd-itrans.mim
1 ;; knd-itrans.mim -- Kannada 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> knd-itrans.mim
25 ;;;
26 ;;; Input method for Kannada script with ITRANS method.  For the
27 ;;; detail of ITRAN, see the page http://www.aczone.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   ("kh" "ಖ್")
45   ("g" "ಗ್")
46   ("gh" "ಘ್")
47   ("~N" "ಙ್")
48   ("N^" "ಙ್")
49   ("ch" "ಚ್")
50   ("Ch" "ಛ್")
51   ("chh" "ಛ್")
52   ("j" "ಜ್")
53   ("jh" "ಝ್")
54   ("~n" "ಞ್")
55   ("JN" "ಞ್")
56   ("T" "ಟ್")
57   ("Th" "ಠ್")
58   ("D" "ಡ್")
59   ("Dh" "ಢ್")
60   ("N" "ಣ್")
61   ("t" "ತ್")
62   ("th" "ಥ್")
63   ("d" "ದ್")
64   ("dh" "ಧ್")
65   ("n" "ನ್")
66   ("p" "ಪ್")
67   ("ph" "ಫ್")
68   ("b" "ಬ್")
69   ("bh" "ಭ್")
70   ("m" "ಮ್")
71   ("y" "ಯ್")
72   ("r" "ರ್")
73   ("rh" "ಱ್")
74   ("l" "ಲ್")
75   ("L" "ಳ್")
76   ("ld" "ಳ್")
77   ("v" "ವ್")
78   ("w" "ವ್")
79   ("sh" "ಶ್")
80   ("Sh" "ಷ್")
81   ("shh" "ಷ್")
82   ("s" "ಸ್")
83   ("h" "ಹ್")
84   ("f" "ೞ್")
85   ("GY" "ಜ್ಞ್")
86   ("dny" "ಜ್ಞ್")
87   ("x" "ಕ್ಷ್"))
88
89  (independent
90   ("a" "ಅ")
91   ("aa" "ಆ")
92   ("A" "ಆ")
93   ("i" "ಇ")
94   ("ii" "ಈ")
95   ("I" "ಈ")
96   ("u" "ಉ")
97   ("uu" "ಊ")
98   ("U" "ಊ")
99   ("RRi" "ಋ")
100   ("R^i" "ಋ")
101   ("LLi" "ಌ")
102   ("L^i" "ಌ")
103   ("E" "ಏ")
104   ("e" "ಎ")
105   ("ai" "ಐ")
106   ("O" "ಓ")
107   ("o" "ಒ")
108   ("au" "ಔ")
109   ("RRI" "ೠ")
110   ("R^I" "ೠ")
111   ("LLI" "ೡ")
112   ("L^I" "ೡ")
113   (".n" "ಂ")
114   ("M" "ಂ")
115   ("H" "ಃ")
116   (".h" "್")
117   ("0" "೦")
118   ("1" "೧")
119   ("2" "೨")
120   ("3" "೩")
121   ("4" "೪")
122   ("5" "೫")
123   ("6" "೬")
124   ("7" "೭")
125   ("8" "೮")
126   ("9" "೯")
127   ("#" "್ರ")
128   ("$" "ರ್")
129   ("^" "ತ್ರ")
130   ("*" "ಶ್ರ")
131   ((S-\ ) "‌")
132   ((C-@) "‍"))
133
134  (dependent
135   ("a" (delete @-) "")
136   ("aa" (delete @-) "ಾ")
137   ("A" (delete @-) "ಾ")
138   ("i" (delete @-) "ಿ")
139   ("ii" (delete @-) "ೀ")
140   ("I" (delete @-) "ೀ")
141   ("u" (delete @-) "ು")
142   ("uu" (delete @-) "ೂ")
143   ("U" (delete @-) "ೂ")
144   ("RRi" (delete @-) "ೃ")
145   ("R^i" (delete @-) "ೃ")
146   ("LLi" (delete @-) "")
147   ("L^i" (delete @-) "")
148   ("E" (delete @-) "ೇ")
149   ("e" (delete @-) "ೆ")
150   ("ai" (delete @-) "ೈ")
151   ("O" (delete @-) "ೋ")
152   ("o" (delete @-) "ೊ")
153   ("au" (delete @-) "ೌ")
154   ("RRI" (delete @-) "ೄ")
155   ("R^I" (delete @-) "ೄ")
156   ("LLI" (delete @-) "")
157   ("L^I" (delete @-) ""))
158
159  (return
160   ((Return)))
161
162  (backspace
163   ((BackSpace) (undo))))
164
165
166 (state
167  (init
168   (starter (pushback 1) (shift intermediate)))
169
170  (intermediate
171   (consonant (shift second))
172   (independent (shift finish))
173   (backspace)
174   (return (shift init)))
175
176  (second
177   (consonant)
178   (dependent (shift finish))
179   (backspace)
180   (return (shift init)))
181
182  (finish
183   (return)
184   (t (shift init))))
185
186 ;; Local Variables:
187 ;; coding: utf-8
188 ;; mode: lisp
189 ;; End: