*** empty log message ***
[m17n/m17n-db.git] / dev-itrans.mim
1 ;; dev-itrans.mim -- Devanagari 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> dev-itrans.mim
25 ;;;
26 ;;; Input method for Devanagari 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   ("nh" "ऩ्")
67   ("p" "प्")
68   ("ph" "फ्")
69   ("b" "ब्")
70   ("bh" "भ्")
71   ("m" "म्")
72   ("y" "य्")
73   ("r" "र्")
74   ("rh" "ऱ्")
75   ("l" "ल्")
76   ("L" "ळ्")
77   ("ld" "ळ्")
78   ("v" "व्")
79   ("w" "व्")
80   ("sh" "श्")
81   ("Sh" "ष्")
82   ("shh" "ष्")
83   ("s" "स्")
84   ("h" "ह्")
85   ("q" "क़्")
86   ("K" "ख़्")
87   ("G" "ग़्")
88   ("J" "ज़्")
89   ("z" "ज़्")
90   (".D" "ड़्")
91   (".Dh" "ढ़्")
92   ("f" "फ़्")
93   ("Y" "य़्")
94   ("yh" "य़्")
95   ("GY" "ज्ञ्")
96   ("dny" "ज्ञ्")
97   ("x" "क्ष्"))
98
99  (independent
100   ("a" "अ")
101   ("aa" "आ")
102   ("A" "आ")
103   ("i" "इ")
104   ("ii" "ई")
105   ("I" "ई")
106   ("u" "उ")
107   ("uu" "ऊ")
108   ("U" "ऊ")
109   ("RRi" "ऋ")
110   ("R^i" "ऋ")
111   ("LLi" "ऌ")
112   ("L^i" "ऌ")
113   (".c" "ऍ")
114   ("e.c" "ऍ")
115   ("E" "ऎ")
116   ("e" "ए")
117   ("ai" "ऐ")
118   ("o.c" "ऑ")
119   ("O" "ऒ")
120   ("o" "ओ")
121   ("au" "औ")
122   ("RRI" "ॠ")
123   ("R^I" "ॠ")
124   ("LLI" "ॡ")
125   ("L^I" "ॡ")
126   (".N" "ँ")
127   (".n" "ं")
128   ("M" "ं")
129   ("H" "ः")
130   (".a" "ऽ")
131   (".h" "्")
132   ("AUM" "ॐ")
133   ("OM" "ॐ")
134   (".." "।")
135   ("0" "०")
136   ("1" "१")
137   ("2" "२")
138   ("3" "३")
139   ("4" "४")
140   ("5" "५")
141   ("6" "६")
142   ("7" "७")
143   ("8" "८")
144   ("9" "९")
145   ("#" "्र")
146   ("$" "र्")
147   ("^" "त्र")
148   ("*" "श्र")
149   ("]" "़")
150   ((S-\ ) "‌")
151   ((C-@) "‍"))
152
153  (dependent
154   ("a" (delete @-) "")
155   ("aa" (delete @-) "ा")
156   ("A" (delete @-) "ा")
157   ("i" (delete @-) "ि")
158   ("ii" (delete @-) "ी")
159   ("I" (delete @-) "ी")
160   ("u" (delete @-) "ु")
161   ("uu" (delete @-) "ू")
162   ("U" (delete @-) "ू")
163   ("RRi" (delete @-) "ृ")
164   ("R^i" (delete @-) "ृ")
165   ("LLi" (delete @-) "ॢ")
166   ("L^i" (delete @-) "ॢ")
167   (".c" (delete @-) "ॅ")
168   ("e.c" (delete @-) "ॅ")
169   ("E" (delete @-) "ॆ")
170   ("e" (delete @-) "े")
171   ("ai" (delete @-) "ै")
172   ("o.c" (delete @-) "ॉ")
173   ("O" (delete @-) "ॊ")
174   ("o" (delete @-) "ो")
175   ("au" (delete @-) "ौ")
176   ("RRI" (delete @-) "ॄ")
177   ("R^I" (delete @-) "ॄ")
178   ("LLI" (delete @-) "ॣ")
179   ("L^I" (delete @-) "ॣ"))
180
181  (return
182   ((Return)))
183
184  (backspace
185   ((BackSpace) (undo))))
186
187 (state
188  (init
189   (starter (pushback 1) (shift intermediate)))
190
191  (intermediate
192   (consonant (shift second))
193   (independent (shift finish))
194   (backspace)
195   (return (shift init)))
196
197  (second
198   (consonant)
199   (dependent (shift finish))
200   (backspace)
201   (return (shift init)))
202
203  (finish
204   (return)
205   (t (shift init))))
206
207 ;; Local Variables:
208 ;; coding: utf-8
209 ;; mode: lisp
210 ;; End: