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 contrib; 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.
28 Itrans Bengali Keymap Layout created by Avinash Chopde in accordance with the details in the following link:
30 http://www.aczoom.com/itrans/beng/node4.html
34 The consonant alphabets are represented as half-characters by default i.e. k = ক্ . To complete the character please use 'a' representing 'অ' i.e. ka=ক. Consonant conjuncts can be created by writing the consonant characters in sequential order. To complete the conjunct either 'অ' or any other dependent vowel [অ (a), া(aa), ি(i), ী(ii), ু(u), ূ(uu), ে(e), ৈ(ai), ো (o), ৌ (au)] needs to be added at the end.
36 E.g. ক্রিয়া = k+r+i+Y+A
38 To write 'Khaanda-ta' (ৎ) use the key combination : t.h
40 Detailed instructions for typing are available at the above mentioned link
47 (".") ("~") ("#") ("$") ("^") ("*") ((S-\ )) ((C-@))
48 ("0") ("1") ("2") ("3") ("4")
49 ("5") ("6") ("7") ("8") ("9")
50 ("A") ("C") ("D") ("G") ("H") ("I") ("J") ("K") ("L")
51 ("M") ("N") ("O") ("R") ("S") ("T") ("U") ("Y")
52 ("a") ("b") ("c") ("d") ("e") ("f") ("g") ("h") ("i")
53 ("j") ("k") ("l") ("m") ("n") ("o") ("p") ("q") ("r")
54 ("s") ("t") ("u") ("v") ("w") ("x") ("y") ("z")
55 ((KP_1)) ((KP_2)) ((KP_3)) ((KP_4)) ((KP_5))
56 ((KP_6)) ((KP_7)) ((KP_8)) ((KP_9)) ((KP_0))
84 ("Ch" "ছ্") ; not in ITRANS Bengali table
89 ("JN" "ঞ্") ; not in ITRANS Bengali table
111 ("shh" "ষ্") ; not in ITRANS Bengali table
117 ("yh" "য়্") ; not in ITRANS Bengali table
119 ("dny" "জ্ঞ্") ; not in ITRANS Bengali table
140 ("M" "ং") ; not in ITRANS Bengali table
154 ("]" "়") ; not in ITRANS Bengali table
155 ((S-\ ) "") ; not in ITRANS Bengali table
156 ((C-@) "")) ; not in ITRANS Bengali table
160 ("aa" (delete @-) "া")
161 ("A" (delete @-) "া")
162 ("i" (delete @-) "ি")
163 ("ii" (delete @-) "ী")
164 ("I" (delete @-) "ী")
165 ("u" (delete @-) "ু")
166 ("uu" (delete @-) "ূ")
167 ("U" (delete @-) "ূ")
168 ("RRi" (delete @-) "ৃ")
169 ("R^i" (delete @-) "ৃ")
170 ("e" (delete @-) "ে")
171 ("ai" (delete @-) "ৈ")
172 ("o" (delete @-) "ো")
173 ("au" (delete @-) "ৌ"))
179 ((BackSpace) (undo))))
183 (starter (pushback 1) (shift intermediate)))
186 (consonant (shift second))
187 (independent (shift init))
189 (return (shift init)))
193 (dependent (shift init))
195 (return (shift init))))