From 0bf2f48f70ba96aed9ca95b60cafbf3db6b557b3 Mon Sep 17 00:00:00 2001 From: Anish Patil Date: Tue, 6 Jan 2015 20:16:10 +0530 Subject: [PATCH 1/2] =?UTF-8?q?Miglish=20input=20method=20is=20to=20type?= =?UTF-8?q?=20Marathi=20using=20Latin=20alpha-bates.However=20there=20are?= =?UTF-8?q?=20existing=20mim=20layouts=20are=20available=20though=20each?= =?UTF-8?q?=20layout=20has=20few=20problems.=20e.g=20to=20type=20word=20"a?= =?UTF-8?q?nish"=20in=20Marathi=20using=20phonetic=20input=20method=20one?= =?UTF-8?q?=20has=20to=20type=20sequence=20as=20"FniS"=20while=20with=20it?= =?UTF-8?q?rans=20input=20method=20one=20has=20to=20type=20"anisha".=20In?= =?UTF-8?q?=20given=20example=20user=20often=20expects=20"=E0=A4=85?= =?UTF-8?q?=E0=A4=A8=E0=A4=BF=E0=A4=B6"=20to=20be=20appear=20with=20keystr?= =?UTF-8?q?okes=20"anish".=20In=20India,=20people=20who=20have=20familiar?= =?UTF-8?q?=20with=20English=20language=20tend=20to=20type=20Marathi=20let?= =?UTF-8?q?ters=20upon=20English=20letter=20pronunciation,=20that=20is=20w?= =?UTF-8?q?hy=20we=20have=20new=20term=20http://en.wikipedia.org/wiki/Hing?= =?UTF-8?q?lish.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MIM/minglish.mim | 258 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 258 insertions(+) create mode 100644 MIM/minglish.mim diff --git a/MIM/minglish.mim b/MIM/minglish.mim new file mode 100644 index 0000000..93954d0 --- /dev/null +++ b/MIM/minglish.mim @@ -0,0 +1,258 @@ +;; minglish.mim -- Marathi input method with Minglish input method +;; Author:- Anish Patil +;; Minglish is combination of Marathi and English language +;; +;; + +;; This file is part of the m17n contrib; a sub-part of the m17n +;; library. + +;; The m17n library is free software; you can redistribute it and/or +;; modify it under the terms of the GNU Lesser General Public License +;; as published by the Free Software Foundation; either version 2.1 of +;; the License, or (at your option) any later version. + +;; The m17n library is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;; Lesser General Public License for more details. + +;; You should have received a copy of the GNU Lesser General Public +;; License along with the m17n library; if not, write to the Free +;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +;; Boston, MA 02110-1301, USA. + +(input-method mr minglish) + +(description "Marathi input method for Marathi and English +Author: Anish Patil +") + +(title "क") + +(map + (starter + (".") ("~") ("#") ("$") ("^") ("*") ((S-\ )) ((C-@)) + ("0") ("1") ("2") ("3") ("4") + ("5") ("6") ("7") ("8") ("9") + ("A") ("C") ("D") ("E") ("G") ("H") ("I") ("J") ("K") ("L") + ("M") ("N") ("O") ("R") ("S") ("T") ("U") ("Y") + ("a") ("b") ("c") ("d") ("e") ("f") ("g") ("h") ("i") + ("j") ("k") ("l") ("m") ("n") ("o") ("p") ("q") ("r") + ("s") ("t") ("u") ("v") ("w") ("x") ("y") ("z") + ((G-s)) ((G-k)) ((G-K)) ((G-g)) ((G-G)) + ((G-j)) ((G-J)) ((G-d)) ((G-D)) ((G-n)) ((G-N)) ((G-t)) ((G-T)) + ((G-p)) ((G-P)) ((G-f)) ((G-F)) ((G-m)) + ((G-y)) ((G-r)) ((G-l)) ((G-L)) + ((G-v)) ((G-w)) ((G-h)) ((G-z)) + ) + + + (consonant + ("k" "क") + ((G-k) "क्") + ("K" "ख") + ("kh" "ख") + ((G-K) "ख्") + ("g" "ग") + ((G-g) "ग्") + ("G" "घ") + ("gh" "घ") + ((G-G) "घ्") + ("~N" "ङ्") + ("N^" "ङ्") + ("c" "च") + ("ch" "छ") + ("chh" "छ्") + ("j" "ज") + ((G-j) "ज्") + ("J" "झ") + ("jh" "झ") + ((G-J) "झ्") + ("~n" "ञ") + ("JN" "ञ्") + ("d" "ड") + ((G-d) "ड्") + ("D" "ढ") + ("dh" "ढ") + ((G-D) "ढ्") + ("n" "न") + ((G-n) "न्") + ("N" "ण") + ((G-N) "ण्") + ("t" "त") + ((G-t) "त्") + ("T" "ट") + ("Th" "ठ") + ("th" "थ") + ((G-T) "थ्") + ("the" "द") + ("dha" "ध") + ("nh" "ऩ्") + ("p" "प") + ((G-p) "प्") + ("P" "फ") + ((G-P) "फ्") + ("f" "फ") + ((G-f) "फ्") + ((G-F) "फ्") + ("F" "फ") + ("ph" "फ") + ("b" "ब") + ((G-b) "ब्") + ("B" "भ") + ("bh" "भ") + ((G-B) "भ्") + ("m" "म") + ((G-m) "म्") + ("M" "ं") + ("y" "य") + ("Y" "य़्") + ("yh" "य़्") + ((G-y) "य़्") + ("r" "र") + ((G-r) "र्") + ("rh" "ऱ्") + ("l" "ल") + ((G-l) "ल्") + ("L" "ळ") + ("ld" "ळ") + ((G-L) "ळ्") + ("v" "व") + ((G-v) "व्") + ("w" "व्") + ((G-w) "व्") + ("s" "स") + ((G-s) "स्") + ("sh" "श") + ("S" "श") + ((G-S) "श्") + ("shh" "ष") + ("Sh" "ष") + ("h" "ह") + ((G-h) "ह्") + ("q" "कु") + ("K" "ख़्") + ("G" "ग़्") + ("z" "झ्") + ("Z" "ँ") + ((G-z) "झ्") + (".D" "ड़्") + (".Dh" "ढ़्") + ("j~n" "ज्ञ्") + ("GY" "ज्ञ्") + ("dny" "ज्ञ") + ("x" "क्ष्")) + + (independent + ("a" "अ") + ("aa" "आ") + ("A" "ा") + ("i" "इ") + ("ii" "ई") + ("I" "ई") + ("u" "उ") + ("uu" "ऊ") + ("U" "ऊ") + ("RRi" "ऋ") + ("R^i" "ऋ") + ("LLi" "ऌ") + ("L^i" "ऌ") + (".c" "ऍ") + ("e.c" "ऍ") + ("ee" "ऎ") + ("E" "ऎ") + ("e" "ए") + ("ai" "ऐ") + ("o.c" "ऑ") + ("oo" "ऒ") + ("O" "ऒ") + ("o" "ओ") + ("au" "औ") + ("RRI" "ॠ") + ("R^I" "ॠ") + ("LLI" "ॡ") + ("L^I" "ॡ") + (".N" "ँ") + (".n" "ं") + ("M" "ं") + ("H" "ः") + (".a" "ऽ") + (".h" "्") + ("AUM" "ॐ") + ("OM" "ॐ") + (".." "।") + ("0" "०") + ("1" "१") + ("2" "२") + ("3" "३") + ("4" "४") + ("5" "५") + ("6" "६") + ("7" "७") + ("8" "८") + ("9" "९") + ("#" "्र") + ("$" "र्") + ("^" "त्र") + ("*" "श्र") + ("]" "़") + ((S-\ ) "‌") + ((C-@) "‍")) + + (dependent + ("a" "ा") + ("aa" "ा") + ("A" "ा") + ("i" "ि") + ("ii" "ी") + ("I" "ी") + ("u" "ु") + ("uu" "ू") + ("U" "ू") + ("RRi" "ृ") + ("R^i" "ृ") + ("LLi" "ॢ") + ("L^i" "ॢ") + (".c" "ॅ") + ("e.c" "ॅ") + ("ee" "ॆ") + ("E" "ॆ") + ("e" "े") + ("ai" "ै") + ("o.c" "ॉ") + ("oo" "ॊ") + ("O" "ॊ") + ("o" "ो") + ("au" "ौ") + ("RRI" "ॄ") + ("R^I" "ॄ") + ("LLI" "ॣ") + ("L^I" "ॣ")) + + (return + ((Return))) + + (backspace + ((BackSpace) (undo)))) + +(state + (init + (starter (pushback 1) (shift intermediate))) + + (intermediate + (consonant (shift second)) + (independent (shift init)) + (backspace) + (return(shift init) )) + + (second + (consonant) + (dependent (shift init)) + (backspace) + (return (shift init)))) + +;; Local Variables: +;; coding: utf-8 +;; mode: emacs-lisp +;; End: -- 2.1.0 From a0e603168939ceda6e8149d87a0c7450c007002a Mon Sep 17 00:00:00 2001 From: Anish Patil Date: Sun, 11 Jan 2015 19:03:17 +0530 Subject: [PATCH 2/2] Added copyright information --- MIM/minglish.mim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MIM/minglish.mim b/MIM/minglish.mim index 93954d0..804dd03 100644 --- a/MIM/minglish.mim +++ b/MIM/minglish.mim @@ -3,7 +3,7 @@ ;; Minglish is combination of Marathi and English language ;; ;; - +;; Copyright (C) 2015 Anish Patil ;; This file is part of the m17n contrib; a sub-part of the m17n ;; library. -- 2.1.0