annotate lisp/language/lao-util.el @ 26760:c55415d59073

*** empty log message ***
author Dave Love <fx@gnu.org>
date Tue, 07 Dec 1999 20:11:42 +0000
parents 708271862495
children e0a13ff5901d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17315
a3ca5e15c82a Fix the format of the first line.
Kenichi Handa <handa@m17n.org>
parents: 17083
diff changeset
1 ;;; lao-util.el --- utilities for Lao
17083
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
18377
8b4a66c66dd6 Change copyright notice.
Richard M. Stallman <rms@gnu.org>
parents: 18309
diff changeset
4 ;; Licensed to the Free Software Foundation.
17083
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
5
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
6 ;; Keywords: multilingual, Lao
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
7
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
8 ;; This file is part of GNU Emacs.
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
9
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
11 ;; it under the terms of the GNU General Public License as published by
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
12 ;; the Free Software Foundation; either version 2, or (at your option)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
13 ;; any later version.
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
14
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
15 ;; GNU Emacs is distributed in the hope that it will be useful,
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
18 ;; GNU General Public License for more details.
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
19
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
20 ;; You should have received a copy of the GNU General Public License
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
23 ;; Boston, MA 02111-1307, USA.
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
24
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
25 ;;; Code:
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
26
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17315
diff changeset
27 ;;;###autoload
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17315
diff changeset
28 (defun setup-lao-environment ()
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17315
diff changeset
29 "Setup multilingual environment (MULE) for Lao."
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17315
diff changeset
30 (interactive)
22987
708271862495 (setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents: 20737
diff changeset
31 (set-language-environment "Lao"))
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17315
diff changeset
32
17083
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
33 (let ((l '((?(1!(B consonant "LETTER KOR KAI'" "CHICKEN")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
34 (?(1"(B consonant "LETTER KHOR KHAI'" "EGG")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
35 (?(1#(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
36 (?(1$(B consonant "LETTER QHOR QHWARGN" "BUFFALO")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
37 (?(1%(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
38 (? invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
39 (?(1'(B consonant "LETTER NGOR NGUU" "SNAKE")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
40 (?(1((B consonant "LETTER JOR JUA" "BUDDHIST NOVICE")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
41 (?(1)(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
42 (?(1*(B consonant "LETTER XOR X\"ARNG" "ELEPHANT")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
43 (?(1+(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
44 (?(1,(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
45 (?(1-(B consonant "LETTER YOR YUNG" "MOSQUITO")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
46 (?(1.(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
47 (?(1.(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
48 (?(1.(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
49 (?(1.(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
50 (?(1.(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
51 (?(1.(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
52 (?(14(B consonant "LETTER DOR DANG" "NOSE")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
53 (?(15(B consonant "LETTER TOR TAR" "EYE")
19271
0caaca9020bc Set t for Rao-SEMIVOWEL-SIGN-LO in
Kenichi Handa <handa@m17n.org>
parents: 18550
diff changeset
54 (?(16(B consonant "LETTER THOR THUNG" "TO ASK,QUESTION")
0caaca9020bc Set t for Rao-SEMIVOWEL-SIGN-LO in
Kenichi Handa <handa@m17n.org>
parents: 18550
diff changeset
55 (?(17(B consonant "LETTER DHOR DHARM" "FLAG")
17083
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
56 (?(18(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
57 (?(19(B consonant "LETTER NOR NOK" "BIRD")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
58 (?(1:(B consonant "LETTER BOR BED" "FISHHOOK")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
59 (?(1;(B consonant "LETTER POR PAR" "FISH")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
60 (?(1<(B consonant "LETTER HPOR HPER\"" "BEE")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
61 (?(1=(B consonant "LETTER FHOR FHAR" "WALL")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
62 (?(1>(B consonant "LETTER PHOR PHUU" "MOUNTAIN")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
63 (?(1?(B consonant "LETTER FOR FAI" "FIRE")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
64 (?(1@(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
65 (?(1A(B consonant "LETTER MOR MAR\"" "HORSE")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
66 (?(1B(B consonant "LETTER GNOR GNAR" "MEDICINE")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
67 (?(1C(B consonant "LETTER ROR ROD" "CAR")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
68 (?(1D(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
69 (?(1E(B consonant "LETTER LOR LIING" "MONKEY")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
70 (?(1F(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
71 (?(1G(B consonant "LETTER WOR WII" "HAND FAN")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
72 (?(1H(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
73 (?(1I(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
74 (?(1J(B consonant "LETTER SOR SEA" "TIGER")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
75 (?(1K(B consonant "LETTER HHOR HHAI" "JAR")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
76 (?(1L(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
77 (?(1M(B consonant "LETTER OR OOW" "TAKE")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
78 (?(1N(B consonant "LETTER HOR HEA" "BOAT")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
79 (?(1O(B special "ELLIPSIS")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
80 (?(1P(B vowel-base "VOWEL SIGN SARA A")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
81 (?(1Q(B vowel-upper "VOWEL SIGN MAI KAN")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
82 (?(1R(B vowel-base "VOWEL SIGN SARA AR")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
83 (?(1S(B vowel-base "VOWEL SIGN SARA AM")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
84 (?(1T(B vowel-upper "VOWEL SIGN SARA I")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
85 (?(1U(B vowel-upper "VOWEL SIGN SARA II")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
86 (?(1V(B vowel-upper "VOWEL SIGN SARA EU")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
87 (?(1W(B vowel-upper "VOWEL SIGN SARA UR")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
88 (?(1X(B vowel-lower "VOWEL SIGN SARA U")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
89 (?(1Y(B vowel-lower "VOWEL SIGN SARA UU")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
90 (?(1Z(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
91 (?(1[(B vowel-upper "VOWEL SIGN MAI KONG")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
92 (?(1\(B semivowel-lower "SEMIVOWEL SIGN LO")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
93 (?(1](B vowel-base "SEMIVOWEL SIGN SARA IA")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
94 (?(1^(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
95 (?(1_(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
96 (?(1`(B vowel-base "VOWEL SIGN SARA EE")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
97 (?(1a(B vowel-base "VOWEL SIGN SARA AA")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
98 (?(1b(B vowel-base "VOWEL SIGN SARA OO")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
99 (?(1c(B vowel-base "VOWEL SIGN SARA EI MAI MUAN\"")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
100 (?(1d(B vowel-base "VOWEL SIGN SARA AI MAI MAY")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
101 (?(1e(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
102 (?(1f(B special "KO LA (REPETITION)")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
103 (?(1g(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
104 (?(1h(B tone "TONE MAI EK")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
105 (?(1i(B tone "TONE MAI THO")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
106 (?(1j(B tone "TONE MAI TI")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
107 (?(1k(B tone "TONE MAI JADTAWAR")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
108 (?(1l(B tone "CANCELLATION MARK")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
109 (?(1m(B vowel-upper "VOWEL SIGN SARA OR")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
110 (?(1n(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
111 (?(1o(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
112 (?(1p(B special "DIGIT ZERO")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
113 (?(1q(B special "DIGIT ONE")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
114 (?(1r(B special "DIGIT TWO")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
115 (?(1s(B special "DIGIT THREE")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
116 (?(1t(B special "DIGIT FOUR")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
117 (?(1u(B special "DIGIT FIVE")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
118 (?(1v(B special "DIGIT SIX")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
119 (?(1w(B special "DIGIT SEVEN")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
120 (?(1x(B special "DIGIT EIGHT")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
121 (?(1y(B special "DIGIT NINE")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
122 (?(1z(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
123 (?(1{(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
124 (?(1|(B consonant "LETTER NHOR NHUU" "MOUSE")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
125 (?(1}(B consonant "LETTER MHOR MHAR" "DOG")
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
126 (?(1~(B invalid nil)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
127 ))
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
128 elm)
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
129 (while l
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
130 (setq elm (car l))
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
131 (put-char-code-property (car elm) 'phonetic-type (car (cdr elm)))
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
132 (put-char-code-property (car elm) 'name (nth 2 elm))
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
133 (put-char-code-property (car elm) 'meaning (nth 3 elm))
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
134 (setq l (cdr l))))
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
135
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
136 ;;
18309
bd8b521f5218 Provide XXX-util instead of
Kenichi Handa <handa@m17n.org>
parents: 18203
diff changeset
137 (provide 'lao-util)
17083
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
138
9e6a3e03ed4c Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
139 ;;; lao-util.el ends here