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