*** empty log message ***
[m17n/m17n-db.git] / bng-itrans.mim
1 ;; bng-itrans.mim -- Bengali 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> bng-itrans.mim
25 ;;;
26 ;;; Input method for Bengali script (Bengali language) with ITRANS
27 ;;; method.  For the detail of ITRAN, see the page
28 ;;; http://www.aczone.com/itrans/.
29
30 (title "ক")
31
32 (map
33  (starter
34   (".") ("~") ("#") ("$") ("^") ("*") ((S-\ )) ((C-@))
35   ("0") ("1") ("2") ("3") ("4")
36   ("5") ("6") ("7") ("8") ("9")
37   ("A") ("C") ("D") ("G") ("H") ("I") ("J") ("K") ("L")
38   ("M") ("N") ("O") ("R") ("S") ("T") ("U") ("Y")
39   ("a") ("b") ("c") ("d") ("e") ("f") ("g") ("h") ("i")
40   ("j") ("k") ("l") ("m") ("n") ("o") ("p") ("q") ("r")
41   ("s") ("t") ("u") ("v") ("w") ("x") ("y") ("z"))
42
43  (consonant
44   ("k" "ক্")
45   ("kh" "খ্")
46   ("g" "গ্")
47   ("gh" "ঘ্")
48   ("~N" "ঙ্")
49   ("N^" "ঙ্")
50   ("ch" "চ্")
51   ("Ch" "ছ্")
52   ("chh" "ছ্")
53   ("j" "জ্")
54   ("jh" "ঝ্")
55   ("~n" "ঞ্")
56   ("JN" "ঞ্")
57   ("T" "ট্")
58   ("Th" "ঠ্")
59   ("D" "ড্")
60   ("Dh" "ঢ্")
61   ("N" "ণ্")
62   ("t" "ত্")
63   ("th" "থ্")
64   ("d" "দ্")
65   ("dh" "ধ্")
66   ("n" "ন্")
67   ("p" "প্")
68   ("ph" "ফ্")
69   ("b" "ব্")
70   ("bh" "ভ্")
71   ("m" "ম্")
72   ("y" "য্")
73   ("r" "র্")
74   ("l" "ল্")
75   ("sh" "শ্")
76   ("Sh" "ষ্")
77   ("shh" "ষ্")
78   ("s" "স্")
79   ("h" "হ্")
80   (".D" "ড়্")
81   (".Dh" "ঢ়্")
82   ("Y" "য়্")
83   ("yh" "য়্")
84   ("GY" "জ্ঞ্")
85   ("dny" "জ্ঞ্")
86   ("x" "ক্ষ্"))
87
88  (independent
89   ("a" "অ")
90   ("aa" "আ")
91   ("A" "আ")
92   ("i" "ই")
93   ("ii" "ঈ")
94   ("I" "ঈ")
95   ("u" "উ")
96   ("uu" "ঊ")
97   ("U" "ঊ")
98   ("RRi" "ঋ")
99   ("R^i" "ঋ")
100   ("LLi" "ঌ")
101   ("L^i" "ঌ")
102   ("e" "এ")
103   ("ai" "ঐ")
104   ("o" "ও")
105   ("au" "ঔ")
106   ("RRI" "ৠ")
107   ("R^I" "ৠ")
108   ("LLI" "ৡ")
109   ("L^I" "ৡ")
110   (".N" "ঁ")
111   (".n" "ং")
112   ("M" "ং")
113   ("H" "ঃ")
114   (".h" "্")
115   ("0" "০")
116   ("1" "১")
117   ("2" "২")
118   ("3" "৩")
119   ("4" "৪")
120   ("5" "৫")
121   ("6" "৬")
122   ("7" "৭")
123   ("8" "৮")
124   ("9" "৯")
125   ("#" "্র")
126   ("$" "র্")
127   ("^" "ত্র")
128   ("*" "শ্র")
129   ("]" "়")
130   ((S-\ ) "‌")
131   ((C-@) "‍"))
132
133  (dependent
134   ("a" (delete @-) "")
135   ("aa" (delete @-) "া")
136   ("A" (delete @-) "া")
137   ("i" (delete @-) "ি")
138   ("ii" (delete @-) "ী")
139   ("I" (delete @-) "ী")
140   ("u" (delete @-) "ু")
141   ("uu" (delete @-) "ূ")
142   ("U" (delete @-) "ূ")
143   ("RRi" (delete @-) "ৃ")
144   ("R^i" (delete @-) "ৃ")
145   ("LLi" (delete @-) "ৢ")
146   ("L^i" (delete @-) "ৢ")
147   ("e" (delete @-) "ে")
148   ("ai" (delete @-) "ৈ")
149   ("o" (delete @-) "ো")
150   ("au" (delete @-) "ৌ")
151   ("RRI" (delete @-) "ৄ")
152   ("R^I" (delete @-) "ৄ")
153   ("LLI" (delete @-) "ৣ")
154   ("L^I" (delete @-) "ৣ"))
155
156  (return
157   ((Return)))
158
159  (backspace
160   ((BackSpace) (undo))))
161
162 (state
163  (init
164   (starter (pushback 1) (shift intermediate)))
165
166  (intermediate
167   (consonant (shift second))
168   (independent (shift finish))
169   (backspace)
170   (return (shift init)))
171
172  (second
173   (consonant)
174   (dependent (shift finish))
175   (backspace)
176   (return (shift init)))
177
178  (finish
179   (return)
180   (t (shift init))))
181
182 ;; Local Variables:
183 ;; coding: utf-8
184 ;; mode: lisp
185 ;; End: