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
6 ;; This file is part of the m17n database; a sub-part of the m17n
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.
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.
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.
24 (input-method bn itrans)
26 (description "Bengali input method by ITRANS transliteration.
27 For the detail of ITRANS, see the page:
28 <http://www.aczoom.com/itrans/>
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"))
53 ("Ch" "ছ্") ; not in ITRANS Bengali table
58 ("JN" "ঞ্") ; not in ITRANS Bengali table
80 ("shh" "ষ্") ; not in ITRANS Bengali table
86 ("yh" "য়্") ; not in ITRANS Bengali table
88 ("dny" "জ্ঞ্") ; not in ITRANS Bengali table
103 ("LLi" "ঌ") ; not in ITRANS Bengali table
104 ("L^i" "ঌ") ; not in ITRANS Bengali table
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
115 ("M" "ং") ; not in ITRANS Bengali table
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
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
164 ((BackSpace) (undo))))
168 (starter (pushback 1) (shift intermediate)))
171 (consonant (shift second))
172 (independent (shift init))
174 (return (shift init)))
178 (dependent (shift init))
180 (return (shift init))))