*** empty log message ***
[m17n/m17n-db.git] / kh-yannis.mim
1 ;; kh-yannis.mim -- Khmer input method suggested by Dr. Yannis
2 ;; Copyright (C) 2003, 2004
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., 59 Temple Place, Suite 330, Boston, MA
22 ;; 02111-1307, USA.
23
24 ;;; <li> kh-yannis.mim
25 ;;;
26 ;;; Input method for Khmer suggested by Dr. Yannis.
27
28 (title "ក")
29 (map
30  (consonant
31   ("k" "ក")
32   ("kh" "ខ")
33   ("K" "គ")
34   ("Kh" "ឃ")
35   ("KH" "ឃ")
36   ("g" "ង")
37   ("c" "ច")
38   ("ch" "ឆ")
39   ("C" "ជ")
40   ("Ch" "ឈ")
41   ("CH" "ឈ")
42   ("j" "ញ")
43   ("d" "ដ")
44   ("dh" "ឋ")
45   ("D" "ឌ")
46   ("Dh" "ឍ")
47   ("DH" "ឍ")
48   ("N" "ណ")
49   ("t" "ត")
50   ("th" "ថ")
51   ("T" "ទ")
52   ("Th" "ធ")
53   ("TH" "ធ")
54   ("n" "ន")
55   ("b" "ប")
56   ("ph" "ផ")
57   ("P" "ព")
58   ("Ph" "ភ")
59   ("PH" "ភ")
60   ("m" "ម")
61   ("y" "យ")
62   ("r" "រ")
63   ("l" "ល")
64   ("v" "វ")
65   ("sh" "ឝ")
66   ("S" "ឞ")
67   ("s" "ស")
68   ("h" "ហ")
69   ("L" "ឡ")
70   ("'" "អ"))
71
72  (wirama
73   ("/" "្"))
74
75  (vowel
76   ("A" "ា")
77   ("e" "ិ")
78   ("ey" "ី")
79   ("u" "ឹ")
80   ("ui" "ឺ")
81   ("o" "ុ")
82   ("ou" "ូ")
83   ("ua" "ួ")
84   ("au" "ើ")
85   ("Iu" "ឿ")
86   ("Ie" "ៀ")
87   ("ei" "េ")
88   ("ae" "ែ")
89   ("ay" "ៃ")
90   ("Ao" "ោ")
91   ("Aw" "ៅ"))
92
93  (quality
94   ("q1" "៉")
95   ("q2" "៊"))
96
97  (diacritic
98   ("M" "ំ")
99   ("H" "ះ")
100   (":" "ៈ")
101   ("D1" "់")
102   ("D2" "៌")
103   ("D3" "៍")
104   ("D4" "៎")
105   ("D5" "៏")
106   ("D6" "័"))
107
108  (ind-vowel
109   ("V1" "ឥ")
110   ("V2" "ឦ")
111   ("V3" "ឧ")
112   ("V4" "ឨ")
113   ("V5" "ឩ")
114   ("V6" "ឪ")
115   ("V7" "ឫ")
116   ("V8" "ឬ")
117   ("V9" "ឭ")
118   ("VA" "ឮ")
119   ("VB" "ឯ")
120   ("VC" "ឰ")
121   ("VD" "ឱ")
122   ("VE" "ឲ")
123   ("VF" "ឳ"))
124
125  (misc
126   ("." "។")
127   ("=" "៕")
128   ("%" "៖")
129   ("]" "ៗ")
130   ("_" "៘")
131   ("@" "៙")
132   (">" "៛")
133   ("$" "ៜ")
134   ("/" "្"))
135
136  (space
137   (" " "")))
138
139 (state
140  (init
141   (consonant (shift c-state))
142   (vowel)
143   (quality)
144   (diacritic)
145   (ind-vowel)
146   (misc))
147
148  (c-state
149   (wirama (shift cw-state))
150   (space (shift init)))
151
152  (cw-state
153   (consonant (shift cwc-state))
154   (space (shift init)))
155
156  (cwc-state
157   (wirama (shift cwcw-state))
158   (space (shift init)))
159
160  (cwcw-state
161   (consonant (shift init))))
162
163 ;; Local Variables:
164 ;; mode: lisp
165 ;; End: