1;; bn-itrans.mim -- Bengali input method with ITRANS method 2;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009 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 28Itrans Bengali Keymap Layout created by Avinash Chopde in 29accordance with the details in the following link: 30 31http://www.aczoom.com/itrans/beng/node4.html 32 33Key Summary: 34 35The consonant alphabets are represented as half-characters by 36default i.e. k = ক্ . To complete the character please use 'a' 37representing 'অ' i.e. ka=ক. Consonant conjuncts can be created by 38writing the consonant characters in sequential order. To complete 39the conjunct either 'অ' or any other dependent vowel [অ (a), 40া(aa), ি(i), ী(ii), ু(u), ূ(uu), ে(e), ৈ(ai), ো (o), ৌ (au)] needs 41to be added at the end. 42 43E.g. ক্রিয়া = k+r+i+Y+A 44 45To write 'Khaanda-ta' (ৎ) use the key combination : t.h 46 47Detailed instructions for typing are available at the above mentioned link 48 49The following keysequences are not defined in the mentioned page, 50but added for users' sake: 51 52Ch JN shh yh dny LLi L^i RRI R^I LLI L^I # $ ^ * ] 53Shift-SPC Control-SPC 54") 55 56(title "ক") 57 58(map 59 (starter 60 (".") ("~") ("#") ("$") ("^") ("*") ((S-\ )) ((C-@)) 61 ("0") ("1") ("2") ("3") ("4") 62 ("5") ("6") ("7") ("8") ("9") 63 ("A") ("C") ("D") ("G") ("H") ("I") ("J") ("K") ("L") 64 ("M") ("N") ("O") ("R") ("S") ("T") ("U") ("Y") 65 ("a") ("b") ("c") ("d") ("e") ("f") ("g") ("h") ("i") 66 ("j") ("k") ("l") ("m") ("n") ("o") ("p") ("q") ("r") 67 ("s") ("t") ("u") ("v") ("w") ("x") ("y") ("z") 68 ((KP_1)) ((KP_2)) ((KP_3)) ((KP_4)) ((KP_5)) 69 ((KP_6)) ((KP_7)) ((KP_8)) ((KP_9)) ((KP_0))) 70 71 (consonant 72 ("k" "ক্") 73 ("kh" "খ্") 74 ("g" "গ্") 75 ("gh" "ঘ্") 76 ("~N" "ঙ্") 77 ("N^" "ঙ্") 78 ("ch" "চ্") 79 ("chh" "ছ্") 80 ("Ch" "ছ্") ; not in ITRANS Bengali table 81 ("j" "জ্") 82 ("jh" "ঝ্") 83 ("~n" "ঞ্") 84 ("n^" "ঞ্") 85 ("JN" "ঞ্") ; not in ITRANS Bengali table 86 ("T" "ট্") 87 ("Th" "ঠ্") 88 ("D" "ড্") 89 ("Dh" "ঢ্") 90 ("N" "ণ্") 91 ("t" "ত্") 92 ("th" "থ্") 93 ("d" "দ্") 94 ("dh" "ধ্") 95 ("n" "ন্") 96 ("p" "প্") 97 ("ph" "ফ্") 98 ("b" "ব্") 99 ("bh" "ভ্") 100 ("m" "ম্") 101 ("J" "য্") 102 ("y" "য্") 103 ("r" "র্") 104 ("l" "ল্") 105 ("sh" "শ্") 106 ("Sh" "ষ্") 107 ("shh" "ষ্") ; not in ITRANS Bengali table 108 ("s" "স্") 109 ("h" "হ্") 110 (".D" "ড়্") 111 (".Dh" "ঢ়্") 112 ("Y" "য়্") 113 ("yh" "য়্") ; not in ITRANS Bengali table 114 ("GY" "জ্ঞ্") 115 ("dny" "জ্ঞ্") ; not in ITRANS Bengali table 116 ("x" "ক্ষ্")) 117 118 (independent 119 ("a" "অ") 120 ("aa" "আ") 121 ("A" "আ") 122 ("i" "ই") 123 ("ii" "ঈ") 124 ("I" "ঈ") 125 ("u" "উ") 126 ("uu" "ঊ") 127 ("U" "ঊ") 128 ("RRi" "ঋ") 129 ("R^i" "ঋ") 130 ("LLi" "ঌ") ; not in ITRANS Bengali table 131 ("L^i" "ঌ") ; not in ITRANS Bengali table 132 ("e" "এ") 133 ("ai" "ঐ") 134 ("o" "ও") 135 ("au" "ঔ") 136 ("RRI" "ৠ") ; not in ITRANS Bengali table 137 ("R^I" "ৠ") ; not in ITRANS Bengali table 138 ("LLI" "ৡ") ; not in ITRANS Bengali table 139 ("L^I" "ৡ") ; not in ITRANS Bengali table 140 (".N" "ঁ") 141 (".n" "ং") 142 ("M" "ং") ; not in ITRANS Bengali table 143 ("H" "ঃ") 144 (".h" "্") 145 ("t.h" "ৎ") 146 ("0" "০") 147 ("1" "১") 148 ("2" "২") 149 ("3" "৩") 150 ("4" "৪") 151 ("5" "৫") 152 ("6" "৬") 153 ("7" "৭") 154 ("8" "৮") 155 ("9" "৯") 156 ("#" "্র") ; not in ITRANS Bengali table 157 ("$" "র্") ; not in ITRANS Bengali table 158 ("^" "ত্র") ; not in ITRANS Bengali table 159 ("*" "শ্র") ; not in ITRANS Bengali table 160 ("]" "়") ; not in ITRANS Bengali table 161 ((KP_1) "১") 162 ((KP_2) "২") 163 ((KP_3) "৩") 164 ((KP_4) "৪") 165 ((KP_5) "৫") 166 ((KP_6) "৬") 167 ((KP_7) "৭") 168 ((KP_8) "৮") 169 ((KP_9) "৯") 170 ((KP_0) "০") 171 ((S-\ ) "") ; not in ITRANS Bengali table 172 ((C-@) "")) ; not in ITRANS Bengali table 173 174 (dependent 175 ("a" (delete @-) "") 176 ("aa" (delete @-) "া") 177 ("A" (delete @-) "া") 178 ("i" (delete @-) "ি") 179 ("ii" (delete @-) "ী") 180 ("I" (delete @-) "ী") 181 ("u" (delete @-) "ু") 182 ("uu" (delete @-) "ূ") 183 ("U" (delete @-) "ূ") 184 ("RRi" (delete @-) "ৃ") 185 ("R^i" (delete @-) "ৃ") 186 ("LLi" (delete @-) "ৢ") ; not in ITRANS Bengali table 187 ("L^i" (delete @-) "ৢ") ; not in ITRANS Bengali table 188 ("e" (delete @-) "ে") 189 ("ai" (delete @-) "ৈ") 190 ("o" (delete @-) "ো") 191 ("au" (delete @-) "ৌ") 192 ("RRI" (delete @-) "ৄ") ; not in ITRANS Bengali table 193 ("R^I" (delete @-) "ৄ") ; not in ITRANS Bengali table 194 ("LLI" (delete @-) "ৣ") ; not in ITRANS Bengali table 195 ("L^I" (delete @-) "ৣ")) ; not in ITRANS Bengali table 196 197 (return 198 ((Return))) 199 200 (backspace 201 ((BackSpace) (undo)))) 202 203(state 204 (init 205 (starter (pushback 1) (shift intermediate))) 206 207 (intermediate 208 (consonant (shift second)) 209 (independent (shift init)) 210 (backspace) 211 (return (shift init))) 212 213 (second 214 (consonant) 215 (dependent (shift init)) 216 (backspace) 217 (return (shift init)))) 218 219;; Local Variables: 220;; coding: utf-8 221;; mode: emacs-lisp 222;; End: 223