167 lines
2.9 KiB
Plaintext
167 lines
2.9 KiB
Plaintext
;; km-yannis.mim -- Khmer input method suggested by Dr. Yannis Haralambous
|
|
;; Copyright (C) 2003, 2004, 2005
|
|
;; 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 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 km yannis)
|
|
|
|
(description "Khmer input method suggested by Dr. Yannis Haralambous.
|
|
")
|
|
|
|
(title "ក")
|
|
(map
|
|
(consonant
|
|
("k" "ក")
|
|
("kh" "ខ")
|
|
("K" "គ")
|
|
("Kh" "ឃ")
|
|
("KH" "ឃ")
|
|
("g" "ង")
|
|
("c" "ច")
|
|
("ch" "ឆ")
|
|
("C" "ជ")
|
|
("Ch" "ឈ")
|
|
("CH" "ឈ")
|
|
("j" "ញ")
|
|
("d" "ដ")
|
|
("dh" "ឋ")
|
|
("D" "ឌ")
|
|
("Dh" "ឍ")
|
|
("DH" "ឍ")
|
|
("N" "ណ")
|
|
("t" "ត")
|
|
("th" "ថ")
|
|
("T" "ទ")
|
|
("Th" "ធ")
|
|
("TH" "ធ")
|
|
("n" "ន")
|
|
("b" "ប")
|
|
("ph" "ផ")
|
|
("P" "ព")
|
|
("Ph" "ភ")
|
|
("PH" "ភ")
|
|
("m" "ម")
|
|
("y" "យ")
|
|
("r" "រ")
|
|
("l" "ល")
|
|
("v" "វ")
|
|
("sh" "ឝ")
|
|
("S" "ឞ")
|
|
("s" "ស")
|
|
("h" "ហ")
|
|
("L" "ឡ")
|
|
("'" "អ"))
|
|
|
|
(wirama
|
|
("/" "្"))
|
|
|
|
(vowel
|
|
("A" "ា")
|
|
("e" "ិ")
|
|
("ey" "ី")
|
|
("u" "ឹ")
|
|
("ui" "ឺ")
|
|
("o" "ុ")
|
|
("ou" "ូ")
|
|
("ua" "ួ")
|
|
("au" "ើ")
|
|
("Iu" "ឿ")
|
|
("Ie" "ៀ")
|
|
("ei" "េ")
|
|
("ae" "ែ")
|
|
("ay" "ៃ")
|
|
("Ao" "ោ")
|
|
("Aw" "ៅ"))
|
|
|
|
(quality
|
|
("q1" "៉")
|
|
("q2" "៊"))
|
|
|
|
(diacritic
|
|
("M" "ំ")
|
|
("H" "ះ")
|
|
(":" "ៈ")
|
|
("D1" "់")
|
|
("D2" "៌")
|
|
("D3" "៍")
|
|
("D4" "៎")
|
|
("D5" "៏")
|
|
("D6" "័"))
|
|
|
|
(ind-vowel
|
|
("V1" "ឥ")
|
|
("V2" "ឦ")
|
|
("V3" "ឧ")
|
|
("V4" "ឨ")
|
|
("V5" "ឩ")
|
|
("V6" "ឪ")
|
|
("V7" "ឫ")
|
|
("V8" "ឬ")
|
|
("V9" "ឭ")
|
|
("VA" "ឮ")
|
|
("VB" "ឯ")
|
|
("VC" "ឰ")
|
|
("VD" "ឱ")
|
|
("VE" "ឲ")
|
|
("VF" "ឳ"))
|
|
|
|
(misc
|
|
("." "។")
|
|
("=" "៕")
|
|
("%" "៖")
|
|
("]" "ៗ")
|
|
("_" "៘")
|
|
("@" "៙")
|
|
(">" "៛")
|
|
("$" "ៜ")
|
|
("/" "្"))
|
|
|
|
(space
|
|
(" " "")))
|
|
|
|
(state
|
|
(init
|
|
(consonant (shift c-state))
|
|
(vowel)
|
|
(quality)
|
|
(diacritic)
|
|
(ind-vowel)
|
|
(misc))
|
|
|
|
(c-state
|
|
(wirama (shift cw-state))
|
|
(space (shift init)))
|
|
|
|
(cw-state
|
|
(consonant (shift cwc-state))
|
|
(space (shift init)))
|
|
|
|
(cwc-state
|
|
(wirama (shift cwcw-state))
|
|
(space (shift init)))
|
|
|
|
(cwcw-state
|
|
(consonant (shift init))))
|
|
|
|
;; Local Variables:
|
|
;; mode: lisp
|
|
;; End:
|