Sei sulla pagina 1di 3

;; sa-harvard-kyoto.

mim -- Sanscrit input method with Harvard-Kyoto convention


;; Copyright (C) 2008
;;
National Institute of Advanced Industrial Science and Technology (AIST)
;;
Registration Number H15PRO112
;; This file is part of the m17n database; a sub-part of the m17n
;; library.
;;
;;
;;
;;

The m17n library is


modify it under the
as published by the
the License, or (at

free software; you can redistribute it and/or


terms of the GNU Lesser General Public License
Free Software Foundation; either version 2.1 of
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 sa harvard-kyoto)
(description "Sanscrit input method with Harvard-Kyoto convention.
The table is based on
<http://en.wikipedia.org/wiki/Harvard-Kyoto>
")
(title "")
(map
(starter
((S-\ )) ((C-@))
("0") ("1") ("2")
("A") ("D") ("G")
("M") ("N") ("O")
("a") ("b") ("c")
("j") ("k") ("l")
("s") ("t") ("u")
((KP_1)) ((KP_2))
((KP_6)) ((KP_7))
(consonant
("k" "")
("kh" "")
("g" "")
("gh" "")
("G" " ")
("c" "")
("ch" " ")
("j" "")
("jh" "")
("J" "")
("T" "")
("Th" "")
("D" " ")
("Dh" " ")
("N" "")
("t" "")

("3") ("4") ("5")


("H") ("I") ("J")
("R") ("S") ("T")
("d") ("e") ("g")
("m") ("n") ("o")
("v") ("y") ("z")
((KP_3)) ((KP_4))
((KP_8)) ((KP_9))

("6") ("7") ("8") ("9")


("U")
("h") ("i")
("p") ("r")
(".") ("|") ("!")
((KP_5))
((KP_0)))

("th" "")
("d" "")
("dh" "")
("n" "")
("p" "")
("ph" "")
("b" "")
("bh" "")
("m" "")
("y" "")
("r" "")
("l" "")
("v" "")
("z" "")
("S" "")
("s" "")
("h" " "))
(independent
("M" "")
("H" "")
("a" "")
("A" "")
("i" "")
("I" "")
("u" "")
("U" "")
("R" "")
("lR" "")
("e" "")
("ai" "")
("o" "")
("au" "")
("RR" "")
("lRR" "")
(".a" "")
("|" "")
("!" "")
("OM" "")
("0" "")
("1" "")
("2" "")
("3" "")
("4" "")
("5" "")
("6" "")
("7" "")
("8" "")
("9" "")
((KP_0) "")
((KP_1) "")
((KP_2) "")
((KP_3) "")
((KP_4) "")
((KP_5) "")
((KP_6) "")
((KP_7) "")
((KP_8) "")
((KP_9) "")

((S-\ ) "")
((C-@) ""))
(dependent
("a" (delete @-) "")
("A" (delete @-) "")
("i" (delete @-) "")
("I" (delete @-) "")
("u" (delete @-) "")
("U" (delete @-) "")
("R" (delete @-) "")
("RR" (delete @-) "")
("e" (delete @-) "")
("ai" (delete @-) "")
("o" (delete @-) "")
("au" (delete @-) "")
("lR" (delete @-) "")
("lRR" (delete @-) ""))
(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:

Potrebbero piacerti anche