Fix typo.
[m17n/m17n-db.git] / gu-itrans.mim
1 ;; gu-itrans.mim -- Gujarati 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> gu-itrans.mim
25 ;;;
26 ;;; Input method for Gujarati script with ITRANS method.  For the
27 ;;; detail of ITRANS, 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   ("l" "લ્")
74   ("L" "ળ્")
75   ("ld" "ળ્")
76   ("v" "વ્")
77   ("w" "વ્")
78   ("sh" "શ્")
79   ("Sh" "ષ્")
80   ("shh" "ષ્")
81   ("s" "સ્")
82   ("h" "હ્")
83   ("GY" "જ્ઞ્")
84   ("dny" "જ્ઞ્")
85   ("x" "ક્ષ્"))
86
87  (independent
88   ("a" "અ")
89   ("aa" "આ")
90   ("A" "આ")
91   ("i" "ઇ")
92   ("ii" "ઈ")
93   ("I" "ઈ")
94   ("u" "ઉ")
95   ("uu" "ઊ")
96   ("U" "ઊ")
97   ("RRi" "ઋ")
98   ("R^i" "ઋ")
99   (".c" "ઍ")
100   ("e.c" "ઍ")
101   ("e" "એ")
102   ("ai" "ઐ")
103   ("o.c" "ઑ")
104   ("o" "ઓ")
105   ("au" "ઔ")
106   ("RRI" "ૠ")
107   ("R^I" "ૠ")
108   (".N" "ઁ")
109   (".n" "ં")
110   ("M" "ં")
111   ("H" "ઃ")
112   (".a" "ઽ")
113   (".h" "્")
114   ("AUM" "ૐ")
115   ("OM" "ૐ")
116   ("0" "૦")
117   ("1" "૧")
118   ("2" "૨")
119   ("3" "૩")
120   ("4" "૪")
121   ("5" "૫")
122   ("6" "૬")
123   ("7" "૭")
124   ("8" "૮")
125   ("9" "૯")
126   ("#" "્ર")
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   (".c" (delete @-) "ૅ")
147   ("e.c" (delete @-) "ૅ")
148   ("e" (delete @-) "ે")
149   ("ai" (delete @-) "ૈ")
150   ("o.c" (delete @-) "ૉ")
151   ("o" (delete @-) "ો")
152   ("au" (delete @-) "ૌ")
153   ("RRI" (delete @-) "ૄ")
154   ("R^I" (delete @-) "ૄ"))
155
156  (return
157   ((Return)))
158
159  (backspace
160   ((BackSpace) (undo))))
161
162
163 (state
164  (init
165   (starter (pushback 1) (shift intermediate)))
166
167  (intermediate
168   (consonant (shift second))
169   (independent (shift finish))
170   (backspace)
171   (return (shift init)))
172
173  (second
174   (consonant)
175   (dependent (shift finish))
176   (backspace)
177   (return (shift init)))
178
179  (finish
180   (return)
181   (t (shift init))))
182
183 ;; Local Variables:
184 ;; coding: utf-8
185 ;; mode: lisp
186 ;; End: