a2eb751
;; minglish.mim -- Marathi input method with Minglish input method
a2eb751
;; Author:- Anish Patil <apatil@redhat.com>
a2eb751
;; Minglish is combination of Marathi and English language 
a2eb751
;; 
a2eb751
;; 
a2eb751
a2eb751
;; This file is part of the m17n contrib; a sub-part of the m17n
a2eb751
;; library.
a2eb751
a2eb751
;; The m17n library is free software; you can redistribute it and/or
a2eb751
;; modify it under the terms of the GNU Lesser General Public License
a2eb751
;; as published by the Free Software Foundation; either version 2.1 of
a2eb751
;; the License, or (at your option) any later version.
a2eb751
a2eb751
;; The m17n library is distributed in the hope that it will be useful,
a2eb751
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
a2eb751
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
a2eb751
;; Lesser General Public License for more details.
a2eb751
a2eb751
;; You should have received a copy of the GNU Lesser General Public
a2eb751
;; License along with the m17n library; if not, write to the Free
a2eb751
;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
a2eb751
;; Boston, MA 02110-1301, USA.
a2eb751
a2eb751
(input-method mr minglish)
a2eb751
a2eb751
(description "Marathi input method for Marathi and English 
a2eb751
Author: Anish Patil <apatil@redhat.com>
a2eb751
")
a2eb751
a2eb751
(title "क")
a2eb751
a2eb751
(map
a2eb751
 (starter
a2eb751
  (".") ("~") ("#") ("$") ("^") ("*") ((S-\ )) ((C-@))
a2eb751
  ("0") ("1") ("2") ("3") ("4")
a2eb751
  ("5") ("6") ("7") ("8") ("9")
a2eb751
  ("A") ("C") ("D") ("E") ("G") ("H") ("I") ("J") ("K") ("L")
a2eb751
  ("M") ("N") ("O") ("R") ("S") ("T") ("U") ("Y")
a2eb751
  ("a") ("b") ("c") ("d") ("e") ("f") ("g") ("h") ("i")
a2eb751
  ("j") ("k") ("l") ("m") ("n") ("o") ("p") ("q") ("r")
a2eb751
  ("s") ("t") ("u") ("v") ("w") ("x") ("y") ("z")
a2eb751
  ((G-s)) ((G-k)) ((G-K)) ((G-g)) ((G-G)) 
a2eb751
  ((G-j)) ((G-J)) ((G-d)) ((G-D)) ((G-n)) ((G-N)) ((G-t)) ((G-T)) 
a2eb751
  ((G-p)) ((G-P)) ((G-f)) ((G-F)) ((G-m))
a2eb751
  ((G-y)) ((G-r)) ((G-l)) ((G-L)) 
a2eb751
  ((G-v)) ((G-w)) ((G-h)) ((G-z))
a2eb751
  )
a2eb751
a2eb751
a2eb751
 (consonant
a2eb751
  ("k" "क")
a2eb751
  ((G-k) "क्")
a2eb751
  ("K" "ख")
a2eb751
  ("kh" "ख")
a2eb751
  ((G-K) "ख्")
a2eb751
  ("g" "ग")
a2eb751
  ((G-g) "ग्")
a2eb751
  ("G" "घ")
a2eb751
  ("gh" "घ")
a2eb751
  ((G-G) "घ्")
a2eb751
  ("~N" "ङ्")
a2eb751
  ("N^" "ङ्")
a2eb751
  ("c" "च")
a2eb751
  ("ch" "छ")			      
a2eb751
  ("chh" "छ्")
a2eb751
  ("j" "ज")
a2eb751
  ((G-j) "ज्")
a2eb751
  ("J" "झ")
a2eb751
  ("jh" "झ")
a2eb751
  ((G-J) "झ्")
a2eb751
  ("~n" "ञ")
a2eb751
  ("JN" "ञ्")
a2eb751
  ("d" "ड")
a2eb751
  ((G-d) "ड्")
a2eb751
  ("D" "ढ")
a2eb751
  ("dh" "ढ")
a2eb751
  ((G-D) "ढ्")
a2eb751
  ("n" "न")
a2eb751
  ((G-n) "न्")
a2eb751
  ("N" "ण")
a2eb751
  ((G-N) "ण्")
a2eb751
  ("t" "त")
a2eb751
  ((G-t) "त्")
a2eb751
  ("T" "ट")
a2eb751
  ("Th" "ठ")
a2eb751
  ("th" "थ")
a2eb751
  ((G-T) "थ्")
a2eb751
  ("the" "द")
a2eb751
  ("dha" "ध")
a2eb751
  ("nh" "ऩ्")			      
a2eb751
  ("p" "प")
a2eb751
  ((G-p) "प्")
a2eb751
  ("P" "फ")
a2eb751
  ((G-P) "फ्")
a2eb751
  ("f" "फ")
a2eb751
  ((G-f) "फ्")
a2eb751
  ((G-F) "फ्")
a2eb751
  ("F" "फ")
a2eb751
  ("ph" "फ")
a2eb751
  ("b" "ब")
a2eb751
  ((G-b) "ब्")
a2eb751
  ("B" "भ")
a2eb751
  ("bh" "भ")
a2eb751
  ((G-B) "भ्")
a2eb751
  ("m" "म")
a2eb751
  ((G-m) "म्")
a2eb751
  ("M" "ं")
a2eb751
  ("y" "य")
a2eb751
  ("Y" "य़्")			      
a2eb751
  ("yh" "य़्")			      
a2eb751
  ((G-y) "य़्")
a2eb751
  ("r" "र")
a2eb751
  ((G-r) "र्")
a2eb751
  ("rh" "ऱ्")			      
a2eb751
  ("l" "ल")
a2eb751
  ((G-l) "ल्")
a2eb751
  ("L" "ळ")
a2eb751
  ("ld" "ळ")
a2eb751
  ((G-L) "ळ्")
a2eb751
  ("v" "व")
a2eb751
  ((G-v) "व्")
a2eb751
  ("w" "व्")
a2eb751
  ((G-w) "व्")
a2eb751
  ("s" "स")
a2eb751
  ((G-s) "स्")
a2eb751
  ("sh" "श")
a2eb751
  ("S" "श")
a2eb751
  ((G-S) "श्")
a2eb751
  ("shh" "ष")
a2eb751
  ("Sh" "ष")
a2eb751
  ("h" "ह")
a2eb751
  ((G-h) "ह्")
a2eb751
  ("q" "कु")
a2eb751
  ("K" "ख़्")
a2eb751
  ("G" "ग़्")
a2eb751
  ("z" "झ्")
a2eb751
  ("Z" "ँ")
a2eb751
  ((G-z) "झ्")
a2eb751
  (".D" "ड़्")
a2eb751
  (".Dh" "ढ़्")
a2eb751
  ("j~n" "ज्ञ्")
a2eb751
  ("GY" "ज्ञ्")
a2eb751
  ("dny" "ज्ञ")		      
a2eb751
  ("x" "क्ष्"))
a2eb751
a2eb751
 (independent
a2eb751
  ("a" "अ")
a2eb751
  ("aa" "आ")
a2eb751
  ("A" "ा")
a2eb751
  ("i" "इ")
a2eb751
  ("ii" "ई")
a2eb751
  ("I" "ई")
a2eb751
  ("u" "उ")
a2eb751
  ("uu" "ऊ")
a2eb751
  ("U" "ऊ")
a2eb751
  ("RRi" "ऋ")
a2eb751
  ("R^i" "ऋ")
a2eb751
  ("LLi" "ऌ")			      
a2eb751
  ("L^i" "ऌ")			      
a2eb751
  (".c" "ऍ")			      
a2eb751
  ("e.c" "ऍ")
a2eb751
  ("ee" "ऎ")			      
a2eb751
  ("E" "ऎ")			      
a2eb751
  ("e" "ए")
a2eb751
  ("ai" "ऐ")
a2eb751
  ("o.c" "ऑ")
a2eb751
  ("oo" "ऒ")			      
a2eb751
  ("O" "ऒ")			      
a2eb751
  ("o" "ओ")
a2eb751
  ("au" "औ")
a2eb751
  ("RRI" "ॠ")			      
a2eb751
  ("R^I" "ॠ")			      
a2eb751
  ("LLI" "ॡ")			      
a2eb751
  ("L^I" "ॡ")			      
a2eb751
  (".N" "ँ")
a2eb751
  (".n" "ं")
a2eb751
  ("M" "ं")
a2eb751
  ("H" "ः")
a2eb751
  (".a" "ऽ")
a2eb751
  (".h" "्")
a2eb751
  ("AUM" "ॐ")
a2eb751
  ("OM" "ॐ")
a2eb751
  (".." "।")			      
a2eb751
  ("0" "०")
a2eb751
  ("1" "१")
a2eb751
  ("2" "२")
a2eb751
  ("3" "३")
a2eb751
  ("4" "४")
a2eb751
  ("5" "५")
a2eb751
  ("6" "६")
a2eb751
  ("7" "७")
a2eb751
  ("8" "८")
a2eb751
  ("9" "९")
a2eb751
  ("#" "्र")			      
a2eb751
  ("$" "र्")			      
a2eb751
  ("^" "त्र")			     
a2eb751
  ("*" "श्र")			     
a2eb751
  ("]" "़")			     
a2eb751
  ((S-\ ) "‌")			     
a2eb751
  ((C-@) "‍"))			     
a2eb751
a2eb751
 (dependent
a2eb751
  ("a"  "ा")
a2eb751
  ("aa"  "ा")
a2eb751
  ("A"  "ा")
a2eb751
  ("i"  "ि")
a2eb751
  ("ii" "ी")
a2eb751
  ("I"  "ी")
a2eb751
  ("u"  "ु")
a2eb751
  ("uu" "ू")
a2eb751
  ("U"  "ू")
a2eb751
  ("RRi" "ृ")
a2eb751
  ("R^i" "ृ")
a2eb751
  ("LLi" "ॢ")	      
a2eb751
  ("L^i" "ॢ")	      
a2eb751
  (".c"  "ॅ")	      
a2eb751
  ("e.c" "ॅ")
a2eb751
  ("ee"  "ॆ")	      
a2eb751
  ("E"   "ॆ")	
a2eb751
  ("e"   "े")
a2eb751
  ("ai"  "ै")
a2eb751
  ("o.c" "ॉ")
a2eb751
  ("oo"  "ॊ")	
a2eb751
  ("O"   "ॊ")	
a2eb751
  ("o"   "ो")
a2eb751
  ("au"  "ौ")
a2eb751
  ("RRI" "ॄ")	
a2eb751
  ("R^I" "ॄ")	
a2eb751
  ("LLI" "ॣ")
a2eb751
  ("L^I" "ॣ"))
a2eb751
a2eb751
 (return
a2eb751
  ((Return)))
a2eb751
a2eb751
 (backspace
a2eb751
  ((BackSpace) (undo))))
a2eb751
a2eb751
(state
a2eb751
 (init
a2eb751
  (starter (pushback 1) (shift intermediate)))
a2eb751
a2eb751
 (intermediate
a2eb751
  (consonant (shift second))
a2eb751
  (independent (shift init))
a2eb751
  (backspace)
a2eb751
  (return(shift init) ))
a2eb751
a2eb751
 (second
a2eb751
  (consonant)
a2eb751
  (dependent (shift init))
a2eb751
  (backspace)
a2eb751
  (return (shift init))))
a2eb751
a2eb751
;; Local Variables:
a2eb751
;; coding: utf-8
a2eb751
;; mode: emacs-lisp
a2eb751
;; End: