1 ;; lo-lrt.mim -- Lao input method with Lao-Roman transliteration
2 ;; Copyright (C) 2003, 2004, 2005
3 ;; National Institute of Advanced Industrial Science and Technology (AIST)
4 ;; Registration Number H15PRO112
6 ;; This file is part of the m17n database; a sub-part of the m17n
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.
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.
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
26 (description "Lao input method using Lao-Roman transliteration.
73 ("r" (move 1) "ຼ" (move @>)))
77 ("i" "ິ" (mark @tone))
78 ("ii" "ີ" (mark @tone))
79 ("eu" "ຶ" (mark @tone))
80 ("ur" "ື" (mark @tone))
81 ("u" "ຸ" (mark @tone))
82 ("uu" "ູ" (mark @tone))
85 ("ee" (move @-) (move @-) "ເ" (move @+) (move @+))
86 ("aa" (move @-) (move @-) "ແ" (move @+) (move @+))
87 ("oo" (move @-) (move @-) "ໂ" (move @+) (move @+))
88 ("ai" (move @-) (move @-) "ໄ" (move @+) (move @+))
89 ("ei" (move @-) (move @-) "ໃ" (move @+) (move @+))
91 ("er" (move @-) (move @-) "ເ" (move @+) (move @+) "ິ" (mark @tone))
92 ("ir" (move @-) (move @-) "ເ" (move @+) (move @+) "ີ" (mark @tone))
93 ("ea" (move @-) (move @-) "ເ" (move @+) (move @+) "ຶ" (mark @tone) "ອ")
94 ("eaa" (move @-) (move @-) "ເ" (move @+) (move @+) "ື" (mark @tone) "ອ")
95 ("ao" (move @-) (move @-) "ເ" (move @+) (move @+) "ົ" (mark @tone) "າ"))
99 ("e" (move @-) (move @-) "ເ" (move @+) (move @+) "ະ")
100 ("ae" (move @-) (move @-) "ແ" (move @+) (move @+) "ະ"))
103 ("oe" (move @-) (move @-) "ເ" (move @+) (move @+) "າະ"))
106 ("o" (move @-) (move @-) "ໂ" (move @+) (move @+) "ະ"))
109 ("or" "ໍ" (mark @tone)))
112 ("ua" "ົ" (mark @tone) "ວະ"))
115 ("uaa" "ົ" (mark @tone) "ວ"))
118 ("ie" (move @-) (move @-) "ເ" (move @+) (move @+) "ັ" (mark @tone) "ຽະ"))
121 ("ia" (move @-) (move @-) "ເ" (move @+) (move @+) "ັ" (mark @tone) "ຽ"))
148 ("'" (move @tone) "່" (move @>))
149 ("\"" (move @tone) "້" (move @>))
150 ("^" (move @tone) "໊" (move @>))
151 ("+" (move @tone) "໋" (move @>))
152 ("~" (move @tone) "໌" (move @>)))
170 (consonant (move 1) (mark @tone) (move @>) (shift c-state))
184 (semi-vowel (shift cs-state))
185 (nil (shift cs-state)))
188 (vowel-simple (shift csv-state))
189 (vowel-a-e-ae (shift csv-a-e-ae-state))
190 (vowel-oe (shift csv-oe-state))
191 (vowel-o (shift csv-o-state))
192 (vowel-or (shift csv-or-state))
193 (vowel-ua (shift csv-ua-state))
194 (vowel-uaa (shift csv-uaa-state))
195 (vowel-ie (shift csv-ie-state))
196 (vowel-ia (shift csv-ia-state))
197 (nil (shift csv-state)))
200 (maa-sakod (shift csvm-state))
201 (nil (shift csvm-state)))
204 (maa-sakod (move @-) (delete @-) "ັ" (mark @tone) (move @>)
206 (nil (shift csvm-state)))
209 (maa-sakod (move @-) (delete @-) (delete @-) "ັ" (mark @tone) "ອ" (move @>)
211 (nil (shift csvm-state)))
214 (maa-sakod-y-v (move @-) (delete @-) "ັ" (mark @tone) (move @>)
216 (maa-sakod-non-y-v (move @-) (delete @-) "ົ" (mark @tone)
217 (move 0) (delete @+) (move @>)
219 (nil (shift csvm-state)))
222 (maa-sakod (move @-) (delete @-) "ອ" (move @+) (shift csvm-state))
223 (nil (shift csvm-state)))
226 (maa-sakod (move @-) (delete -3) "ັວ" (move @+) (shift csvm-state))
227 (nil (shift csvm-state)))
230 (maa-sakod (move @-) (move @-) (delete @-) (move @+) (move @+)
232 (nil (shift csvm-state)))
235 (maa-sakod (move @-) (delete @-) (move @+) (shift csvm-state))
236 (nil (shift csvm-state)))
239 (maa-sakod (move @-) (move @-) (delete @-) (move @+) (move @+)
241 (nil (shift csvm-state)))
244 (tone (shift init))))