(state:state-LVT-or-LVTL): Add backspace branch.
[m17n/m17n-db.git] / MIM / or-itrans.mim
1 ;; or-itrans.mim -- Oriya 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 or itrans)
25
26 (description "Oriya 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") ("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   ("l" "ଲ୍")
78   ("L" "ଳ୍")
79   ("ld" "ଳ୍")
80   ("sh" "ଶ୍")
81   ("Sh" "ଷ୍")
82   ("shh" "ଷ୍")
83   ("s" "ସ୍")
84   ("h" "ହ୍")
85   (".D" "ଡ଼୍")
86   (".Dh" "ଢ଼୍")
87   ("Y" "ୟ୍")
88   ("yh" "ୟ୍")
89   ("GY" "ଜ୍ଞ୍")
90   ("dny" "ଜ୍ଞ୍")
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   ("ai" "ଐ")
109   ("o" "ଓ")
110   ("au" "ଔ")
111   ("RRI" "ୠ")
112   ("R^I" "ୠ")
113   ("LLI" "ୡ")
114   ("L^I" "ୡ")
115   (".N" "ଁ")
116   (".n" "ଂ")
117   ("M" "ଂ")
118   ("H" "ଃ")
119   (".a" "ଽ")
120   (".h" "୍")
121   ("0" "୦")
122   ("1" "୧")
123   ("2" "୨")
124   ("3" "୩")
125   ("4" "୪")
126   ("5" "୫")
127   ("6" "୬")
128   ("7" "୭")
129   ("8" "୮")
130   ("9" "୯")
131   ("#" "୍ର")
132   ("$" "ର୍")
133   ("^" "ତ୍ର")
134   ("*" "ଶ୍ର")
135   ("]" "଼")
136   ((KP_1) "୧")
137   ((KP_2) "୨")
138   ((KP_3) "୩")
139   ((KP_4) "୪")
140   ((KP_5) "୫")
141   ((KP_6) "୬")
142   ((KP_7) "୭")
143   ((KP_8) "୮")
144   ((KP_9) "୯")
145   ((KP_0) "୦")
146   ((S-\ ) "‌")
147   ((C-@) "‍"))
148
149  (dependent
150   ("a" (delete @-) "")
151   ("aa" (delete @-) "ା")
152   ("A" (delete @-) "ା")
153   ("i" (delete @-) "ି")
154   ("ii" (delete @-) "ୀ")
155   ("I" (delete @-) "ୀ")
156   ("u" (delete @-) "ୁ")
157   ("uu" (delete @-) "ୂ")
158   ("U" (delete @-) "ୂ")
159   ("RRi" (delete @-) "ୃ")
160   ("R^i" (delete @-) "ୃ")
161   ("LLi" (delete @-) "")
162   ("L^i" (delete @-) "")
163   ("e" (delete @-) "େ")
164   ("ai" (delete @-) "ୈ")
165   ("o" (delete @-) "ୋ")
166   ("au" (delete @-) "ୌ")
167   ("RRI" (delete @-) "")
168   ("R^I" (delete @-) "")
169   ("LLI" (delete @-) "")
170   ("L^I" (delete @-) ""))
171
172  (return
173   ((Return)))
174
175  (backspace
176   ((BackSpace) (undo))))
177
178 (state
179  (init
180   (starter (pushback 1) (shift intermediate)))
181
182  (intermediate
183   (consonant (shift second))
184   (independent (shift init))
185   (backspace)
186   (return (shift init)))
187
188  (second
189   (consonant)
190   (dependent (shift init))
191   (backspace)
192   (return (shift init))))
193
194 ;; Local Variables:
195 ;; coding: utf-8
196 ;; mode: emacs-lisp
197 ;; End: