Mercurial > emacs
annotate lisp/language/tibetan.el @ 40819:668787248f9b
* dired.el (dired-move-to-filename-regexp):
Do not distinguish between ASCII letters and non-ASCII characters.
Don't allow comma except in the form "month day, year".
Don't allow space between month name and comma.
Clean up the code that checks for trailing period, comma, and space.
Remove now-obsolete comments, and add more commentary about
Japanese dates.
Always gobble up trailing spaces, instead of doing it only sometimes.
author | Paul Eggert <eggert@twinsun.com> |
---|---|
date | Wed, 07 Nov 2001 21:59:39 +0000 |
parents | b174db545cfd |
children | e3ae5ef41293 |
rev | line source |
---|---|
38436
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
33778
diff
changeset
|
1 ;;; tibetan.el --- support for Tibetan language -*- coding: iso-2022-7bit; -*- |
17301 | 2 |
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. |
17301 | 5 |
6 ;; Keywords: multilingual, Tibetan | |
7 | |
8 ;; This file is part of GNU Emacs. | |
9 | |
10 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
11 ;; it under the terms of the GNU General Public License as published by | |
12 ;; the Free Software Foundation; either version 2, or (at your option) | |
13 ;; any later version. | |
14 | |
15 ;; GNU Emacs is distributed in the hope that it will be useful, | |
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 ;; GNU General Public License for more details. | |
19 | |
20 ;; You should have received a copy of the GNU General Public License | |
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the | |
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
23 ;; Boston, MA 02111-1307, USA. | |
24 | |
25 ;; Author: Toru TOMABECHI, <Toru.Tomabechi@orient.unil.ch> | |
26 | |
27 ;; Created: Feb. 17. 1997 | |
28 | |
29 ;; History: | |
30 ;; 1997.03.13 Modification for special signs and punctuations. | |
31 | |
38436
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
33778
diff
changeset
|
32 ;;; Commentary: |
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
33778
diff
changeset
|
33 |
17301 | 34 ;;; Code: |
35 | |
36 ;;; Tibetan Character set. | |
37 ;;; \x2130 -- \x234a is a subset of Unicode v.2 \x0f00 - \x0fb9 | |
38 ;;; with a slight modification. And there are some subjoined | |
39 ;;; consonants which are not specified in Unicode. | |
40 ;;; I hope I can add missing characters later. | |
41 ;;; | |
42 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | |
29364
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
43 ;;;2120 // $(7!!(B $(7!"(B $(7!#(B $(7!$(B $(7!%(B $(7!&(B $(7!'(B $(7!((B $(7!)(B $(7!*(B $(7!+(B $(7!,(B $(7!-(B $(7!.(B $(7!/(B ; obsolete glyphs (2123-5) |
17301 | 44 ;;;2130 $(7!0(B $(7!1(B $(7!2(B $(7!3(B $(7!4(B $(7!5(B $(7!6(B $(7!7(B $(7!8(B $(7!9(B $(7!:(B $(7!;(B $(7!<(B $(7!=(B $(7!>(B $(7!?(B ; Punctuations, |
45 ;;;2140 $(7!@(B $(7!A(B $(7!B(B $(7!C(B $(7!D(B $(7!E(B $(7!F(B $(7!G(B $(7!H(B $(7!I(B $(7!J(B $(7!K(B $(7!L(B $(7!M(B $(7!N(B $(7!O(B ; Digits and | |
46 ;;;2150 $(7!P(B $(7!Q(B $(7!R(B $(7!S(B $(7!T(B $(7!U(B $(7!V(B $(7!W(B $(7!X(B $(7!Y(B $(7!Z(B $(7![(B $(7!\(B $(7!](B $(7!^(B $(7!_(B ; Special signs. | |
47 ;;;2160 $(7!`(B $(7!a(B $(7!b(B $(7!c(B $(7!d(B $(7!e(B $(7!f(B $(7!g(B $(7!h(B $(7!i(B $(7!j(B $(7!k(B $(7!l(B $(7!m(B $(7!n(B $(7!o(B ; | |
48 ;;;2170 $(7!p(B $(7!q(B $(7!r(B $(7!s(B $(7!t(B $(7!u(B $(7!v(B $(7!w(B $(7!x(B $(7!y(B $(7!z(B $(7!{(B $(7!|(B $(7!}(B $(7!~(B // ; | |
49 ;;; | |
50 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | |
51 ;;;2220 // $(7"!(B $(7""(B $(7"#(B $(7"$(B $(7"%(B $(7"&(B $(7"'(B $(7"((B $(7")(B $(7"*(B $(7"+(B $(7",(B $(7"-(B $(7".(B $(7"/(B ; Base consonants | |
52 ;;;2230 $(7"0(B $(7"1(B $(7"2(B $(7"3(B $(7"4(B $(7"5(B $(7"6(B $(7"7(B $(7"8(B $(7"9(B $(7":(B $(7";(B $(7"<(B $(7"=(B $(7">(B $(7"?(B ; and | |
53 ;;;2240 $(7"@(B $(7"A(B $(7"B(B $(7"C(B $(7"D(B $(7"E(B $(7"F(B $(7"G(B $(7"H(B $(7"I(B $(7"J(B $(7"K(B $(7"L(B $(7"M(B $(7"N(B $(7"O(B ; Vowel signs. | |
54 ;;;2250 $(7"P(B $(7"Q(B $(7"R(B $(7"S(B $(7"T(B $(7"U(B $(7"V(B $(7"W(B $(7"X(B $(7"Y(B $(7"Z(B $(7"[(B $(7"\(B $(7"](B $(7"^(B $(7"_(B ; (\x2251 = vowel a) | |
55 ;;;2260 $(7"`(B $(7"a(B $(7"b(B $(7"c(B $(7"d(B $(7"e(B $(7"f(B $(7"g(B $(7"h(B $(7"i(B $(7"j(B $(7"k(B $(7"l(B $(7"m(B $(7"n(B $(7"o(B ; Long vowels and | |
29364
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
56 ;;;2270 $(7"p(B $(7"q(B $(7"r(B $(7"s(B $(7"t(B $(7"u(B $(7"v(B $(7"w(B $(7"x(B $(7"y(B $(7"z(B $(7"{(B $(7"|(B $(7"}(B $(7"~(B // ; vocalic r, l ARE |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
57 ;;; ; atomically |
17301 | 58 ;;; ; encoded. |
59 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | |
60 ;;;2320 // $(7#!(B $(7#"(B $(7##(B $(7#$(B $(7#%(B $(7#&(B $(7#'(B $(7#((B $(7#)(B $(7#*(B $(7#+(B $(7#,(B $(7#-(B $(7#.(B $(7#/(B ; Subjoined consonants | |
61 ;;;2330 $(7#0(B $(7#1(B $(7#2(B $(7#3(B $(7#4(B $(7#5(B $(7#6(B $(7#7(B $(7#8(B $(7#9(B $(7#:(B $(7#;(B $(7#<(B $(7#=(B $(7#>(B $(7#?(B ; | |
29364
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
62 ;;;2340 $(7#@(B $(7#A(B $(7#B(B $(7#C(B $(7#D(B $(7#E(B $(7#F(B $(7#G(B $(7#H(B $(7#I(B $(7#J(B $(7#K(B $(7#L(B $(7#M(B $(7#N(B $(7#O(B ; |
17301 | 63 ;;;2350 $(7#P(B $(7#Q(B $(7#R(B $(7#S(B $(7#T(B $(7#U(B $(7#V(B $(7#W(B $(7#X(B $(7#Y(B $(7#Z(B $(7#[(B $(7#\(B $(7#](B $(7#^(B $(7#_(B ; Hereafter, the chars |
64 ;;;2360 $(7#`(B $(7#a(B $(7#b(B $(7#c(B $(7#d(B $(7#e(B $(7#f(B $(7#g(B $(7#h(B $(7#i(B $(7#j(B $(7#k(B $(7#l(B $(7#m(B $(7#n(B $(7#o(B ; are not specified | |
65 ;;;2370 $(7#p(B $(7#q(B $(7#r(B $(7#s(B $(7#t(B $(7#u(B $(7#v(B $(7#w(B $(7#x(B $(7#y(B $(7#z(B $(7#{(B $(7#|(B $(7#}(B $(7#~(B // ; in Unicode. | |
29364
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
66 ;;; |
17301 | 67 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |
68 ;;;2420 // $(7$!(B $(7$"(B $(7$#(B $(7$$(B $(7$%(B $(7$&(B $(7$'(B $(7$((B $(7$)(B $(7$*(B $(7$+(B $(7$,(B $(7$-(B $(7$.(B $(7$/(B ; Precomposed | |
69 ;;;2430 $(7$0(B $(7$1(B $(7$2(B $(7$3(B $(7$4(B $(7$5(B $(7$6(B $(7$7(B $(7$8(B $(7$9(B $(7$:(B $(7$;(B $(7$<(B $(7$=(B $(7$>(B $(7$?(B ; consonants for | |
70 ;;;2440 $(7$@(B $(7$A(B $(7$B(B $(7$C(B $(7$D(B $(7$E(B $(7$F(B $(7$G(B $(7$H(B $(7$I(B $(7$J(B $(7$K(B $(7$L(B $(7$M(B $(7$N(B $(7$O(B ; ordinary Tibetan. | |
71 ;;;2450 $(7$P(B $(7$Q(B $(7$R(B $(7$S(B $(7$T(B $(7$U(B $(7$V(B $(7$W(B $(7$X(B $(7$Y(B $(7$Z(B $(7$[(B $(7$\(B $(7$](B $(7$^(B $(7$_(B ; They are decomposed | |
72 ;;;2460 $(7$`(B $(7$a(B $(7$b(B $(7$c(B $(7$d(B $(7$e(B $(7$f(B $(7$g(B $(7$h(B $(7$i(B $(7$j(B $(7$k(B $(7$l(B $(7$m(B $(7$n(B $(7$o(B ; into base and | |
73 ;;;2470 $(7$p(B $(7$q(B $(7$r(B $(7$s(B $(7$t(B $(7$u(B $(7$v(B $(7$w(B $(7$x(B $(7$y(B $(7$z(B $(7${(B $(7$|(B $(7$}(B $(7$~(B // ; subjoined consonants | |
74 ;;; ; when written on a | |
75 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F ; file in Tibetan | |
76 ;;;2520 // $(7%!(B $(7%"(B $(7%#(B $(7%$(B $(7%%(B $(7%&(B $(7%'(B $(7%((B $(7%)(B $(7%*(B $(7%+(B $(7%,(B $(7%-(B $(7%.(B $(7%/(B ; coding system. | |
77 ;;;2530 $(7%0(B $(7%1(B $(7%2(B $(7%3(B $(7%4(B $(7%5(B $(7%6(B $(7%7(B $(7%8(B $(7%9(B $(7%:(B $(7%;(B $(7%<(B $(7%=(B $(7%>(B $(7%?(B ; | |
78 ;;;2540 $(7%@(B $(7%A(B $(7%B(B $(7%C(B $(7%D(B $(7%E(B $(7%F(B $(7%G(B $(7%H(B $(7%I(B $(7%J(B $(7%K(B $(7%L(B $(7%M(B $(7%N(B $(7%O(B ; | |
79 ;;;2550 $(7%P(B $(7%Q(B $(7%R(B $(7%S(B $(7%T(B $(7%U(B $(7%V(B $(7%W(B $(7%X(B $(7%Y(B $(7%Z(B $(7%[(B $(7%\(B $(7%](B $(7%^(B $(7%_(B ; | |
80 ;;;2560 $(7%`(B $(7%a(B $(7%b(B $(7%c(B $(7%d(B $(7%e(B $(7%f(B $(7%g(B $(7%h(B $(7%i(B $(7%j(B $(7%k(B $(7%l(B $(7%m(B $(7%n(B $(7%o(B ; | |
81 ;;;2570 $(7%p(B $(7%q(B $(7%r(B $(7%s(B $(7%t(B $(7%u(B $(7%v(B $(7%w(B $(7%x(B $(7%y(B $(7%z(B $(7%{(B $(7%|(B $(7%}(B $(7%~(B // ; | |
82 ;;; | |
83 | |
84 | |
85 (make-coding-system | |
20739
5f2c7f919bbf
Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
86 'tibetan-iso-8bit 2 ?Q |
18203
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
17993
diff
changeset
|
87 "8-bit encoding for ASCII (MSB=0) and TIBETAN (MSB=1)" |
20739
5f2c7f919bbf
Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
88 '(ascii tibetan nil nil |
5f2c7f919bbf
Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
89 nil nil) |
5f2c7f919bbf
Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
90 '((safe-charsets ascii tibetan) |
5f2c7f919bbf
Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
91 (post-read-conversion . tibetan-post-read-conversion) |
5f2c7f919bbf
Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
92 (pre-write-conversion . tibetan-pre-write-conversion))) |
17301 | 93 |
20739
5f2c7f919bbf
Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
94 (define-coding-system-alias 'tibetan 'tibetan-iso-8bit) |
17301 | 95 |
96 (set-language-info-alist | |
22983
7a010b8c0d99
("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents:
20739
diff
changeset
|
97 "Tibetan" '((charset tibetan tibetan-1-column) |
20739
5f2c7f919bbf
Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
98 (coding-system tibetan-iso-8bit) |
5f2c7f919bbf
Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
99 (coding-priority iso-2022-7bit tibetan-iso-8bit) |
22983
7a010b8c0d99
("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents:
20739
diff
changeset
|
100 (input-method . "tibetan-wylie") |
7a010b8c0d99
("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents:
20739
diff
changeset
|
101 (features tibet-util) |
17301 | 102 (documentation . t) |
33224
16e812e93e0d
("Tibetan"): Set a lisp form that produces
Kenichi Handa <handa@m17n.org>
parents:
29597
diff
changeset
|
103 (sample-text |
16e812e93e0d
("Tibetan"): Set a lisp form that produces
Kenichi Handa <handa@m17n.org>
parents:
29597
diff
changeset
|
104 . (tibetan-compose-string |
16e812e93e0d
("Tibetan"): Set a lisp form that produces
Kenichi Handa <handa@m17n.org>
parents:
29597
diff
changeset
|
105 (copy-sequence |
16e812e93e0d
("Tibetan"): Set a lisp form that produces
Kenichi Handa <handa@m17n.org>
parents:
29597
diff
changeset
|
106 "Tibetan (4$(7"7r'"]0"7"]14"20"21!;4%P0"G#!"Q14"20"21!;(B) $(7!4!5!5!>4"70"714$P0"!#C"Q1!;4"Er'"S0"E"S14"G0"G1!;4"70"714"2r'"[0"2"[1!;4"Dr'"[0"D"[14"#0"#14"G0"G1!>4"Ir'"]r'"_0"I"]"_1!;4"90"9"Q1!;4"/r'"S0"/"S1!;4"50"5"Q14#2x!#9r'"[0"2#9"[1!;4"Hx!"Rx!"Ur'"c0"H"A"U"c1!>(B"))))) |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
107 |
17301 | 108 |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
109 ;; `$(7"A(B' is included in the pattern for subjoined consonants because we |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
110 ;; treat it specially in tibetan-add-components. |
29364
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
111 ;; modified by Tomabechi 1999/12/10 |
29597
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
112 ;; modified by Tomabechi 2000/06/08 |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
113 ;; To allow infinite addition of vowels/modifiers |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
114 ;; as specified in Unicode v.3 |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
115 ;; $(7"A(B is removed from the class of subjoined. Tomabechi 2000/06/08 |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
116 ;; (for Unicode support) |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
117 (defconst tibetan-composable-pattern |
29597
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
118 "[$(7"!(B-$(7"J"K(B][$(7#!(B-$(7#J#K#L#M(B]*[$(7"Q"R"S(B-$(7"^"a"b"e(B]*[$(7"_"c"d"g(B-$(7"l!I!e!g(B]*" |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
119 "Regexp matching a composable sequence of Tibetan characters.") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
120 |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
121 ;; Register a function to compose Tibetan characters. |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
122 (aset composition-function-table (make-char 'tibetan) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
123 (list (cons tibetan-composable-pattern 'tibetan-composition-function))) |
17301 | 124 |
125 ;;; | |
126 ;;; Definitions of conversion data. | |
127 ;;; | |
128 | |
129 | |
130 ;;; alists for tibetan char <-> transcription conversion | |
131 ;;; longer transcription should come first | |
132 (defconst tibetan-consonant-transcription-alist | |
133 '(("tsh" . "$(7";(B") | |
134 ("dzh" . "$(7"=(B") | |
135 ("kSH" . "$(7"J(B") | |
136 ("kh" . "$(7""(B") | |
137 ("gh" . "$(7"$(B") | |
138 ("ng" . "$(7"%(B") | |
139 ("ch" . "$(7"'(B") | |
140 ("ny" . "$(7"*(B") | |
141 ("TH" . "$(7",(B") | |
142 ("DH" . "$(7".(B") | |
143 ("th" . "$(7"1(B") | |
144 ("dh" . "$(7"3(B") | |
145 ("ph" . "$(7"6(B") | |
146 ("bh" . "$(7"8(B") | |
147 ("ts" . "$(7":(B") | |
148 ("dz" . "$(7"<(B") | |
149 ("zh" . "$(7"?(B") | |
150 ("sh" . "$(7"E(B") | |
151 ("SH" . "$(7"F(B") | |
152 ("k" . "$(7"!(B") | |
153 ("g" . "$(7"#(B") | |
154 ("c" . "$(7"&(B") | |
155 ("j" . "$(7"((B") | |
156 ("T" . "$(7"+(B") | |
157 ("D" . "$(7"-(B") | |
158 ("N" . "$(7"/(B") | |
159 ("t" . "$(7"0(B") | |
160 ("d" . "$(7"2(B") | |
161 ("n" . "$(7"4(B") | |
162 ("p" . "$(7"5(B") | |
163 ("b" . "$(7"7(B") | |
164 ("m" . "$(7"9(B") | |
165 ("w" . "$(7">(B") | |
166 ("z" . "$(7"@(B") | |
167 ("'" . "$(7"A(B") | |
168 ("y" . "$(7"B(B") | |
169 ("r" . "$(7"C(B") | |
170 ("l" . "$(7"D(B") | |
171 ("s" . "$(7"G(B") | |
172 ("h" . "$(7"H(B") | |
173 ("H" . "$(7"H(B") | |
29364
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
174 ("A" . "$(7"I(B") |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
175 ;; Added by Tomabechi 1999/12/10 |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
176 ("R" . "$(7"K(B") ;; fixed form RA |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
177 )) |
17301 | 178 |
179 | |
180 (defconst tibetan-vowel-transcription-alist | |
29597
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
181 '( |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
182 ;; Composite Vowels |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
183 ;; Added by Tomabechi 2000/06/08 |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
184 ("frr" . "$(7"X(B") |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
185 ("fll" . "$(7"Z(B") |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
186 ("fa" . "$(7"R(B") |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
187 ("fi" . "$(7"T(B") |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
188 ("fu" . "$(7"V(B") |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
189 ("fr" . "$(7"W(B") |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
190 ("fl" . "$(7"Y(B") |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
191 ("fI" . "$(7"b(B") |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
192 ;; Normal Vowels |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
193 ("ai" . "$(7"\(B") |
17301 | 194 ("au" . "$(7"^(B") |
195 ("ee" . "$(7"\(B") | |
196 ("oo" . "$(7"^(B") | |
197 ("a" . "$(7"Q(B") ; invisible vowel sign (\x2251) | |
198 ("i" . "$(7"S(B") | |
199 ("u" . "$(7"U(B") | |
200 ("e" . "$(7"[(B") | |
201 ("o" . "$(7"](B") | |
202 ("E" . "$(7"\(B") | |
203 ("O" . "$(7"^(B") | |
204 ("I" . "$(7"a(B") | |
205 ("," . "$(7"e(B") ; idem. | |
206 )) | |
207 | |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
208 (defconst tibetan-modifier-transcription-alist |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
209 '(("M" . "$(7"_(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
210 ("~" . "$(7"c(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
211 ("`" . "$(7"d(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
212 ("x" . "$(7"i(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
213 ("X" . "$(7"j(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
214 ("v" . "$(7"g(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
215 ("V" . "$(7"h(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
216 ("q" . "$(7"k(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
217 ("Q" . "$(7"l(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
218 ("_/" . "$(7!I(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
219 ("_o" . "$(7!g(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
220 ("_O" . "$(7!e(B"))) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
221 |
17301 | 222 (defconst tibetan-precomposed-transcription-alist |
223 '(("phyw" . "$(7$G(B") | |
224 ("tshw" . "$(7$)(B") | |
225 ("rtsw" . "$(7%.(B") | |
226 ("khw" . "$(7$"(B") | |
227 ("nyw" . "$(7$%(B") | |
228 ("tsw" . "$(7$((B") | |
229 ("zhw" . "$(7$*(B") | |
230 ("shw" . "$(7$.(B") | |
231 ("khy" . "$(7$A(B") | |
232 ("phy" . "$(7$D(B") | |
233 ("khr" . "$(7$Q(B") | |
234 ("thr" . "$(7$T(B") | |
235 ("phr" . "$(7$W(B") | |
236 ("shr" . "$(7$Z(B") | |
237 ("dzr" . "$(7$^(B") | |
238 ("grw" . "$(7$_(B") | |
239 ("rng" . "$(7%#(B") | |
240 ("rny" . "$(7%%(B") | |
241 ("rts" . "$(7%+(B") | |
242 ("rdz" . "$(7%,(B") | |
243 ("rgw" . "$(7%-(B") | |
244 ("rky" . "$(7%0(B") | |
245 ("rgy" . "$(7%1(B") | |
246 ("rmy" . "$(7%2(B") | |
247 ("lng" . "$(7%B(B") | |
248 ("sng" . "$(7%R(B") | |
249 ("sny" . "$(7%S(B") | |
250 ("sts" . "$(7%Z(B") | |
251 ("sky" . "$(7%`(B") | |
252 ("sgy" . "$(7%a(B") | |
253 ("spy" . "$(7%b(B") | |
254 ("sby" . "$(7%c(B") | |
255 ("smy" . "$(7%d(B") | |
256 ("skr" . "$(7%p(B") | |
257 ("sgr" . "$(7%q(B") | |
258 ("snr" . "$(7%r(B") | |
259 ("spr" . "$(7%s(B") | |
260 ("sbr" . "$(7%t(B") | |
261 ("smr" . "$(7%u(B") | |
262 ("kw" . "$(7$!(B") | |
263 ("gw" . "$(7$#(B") | |
264 ("cw" . "$(7$$(B") | |
265 ("tw" . "$(7$&(B") | |
266 ("dw" . "$(7$'(B") | |
267 ("zw" . "$(7$+(B") | |
268 ("rw" . "$(7$,(B") | |
269 ("lw" . "$(7$-(B") | |
270 ("sw" . "$(7$/(B") | |
271 ("hw" . "$(7$0(B") | |
272 ("ky" . "$(7$@(B") | |
273 ("gy" . "$(7$B(B") | |
274 ("py" . "$(7$C(B") | |
275 ("by" . "$(7$E(B") | |
276 ("my" . "$(7$F(B") | |
277 ("kr" . "$(7$P(B") | |
278 ("gr" . "$(7$R(B") | |
279 ("tr" . "$(7$S(B") | |
280 ("dr" . "$(7$U(B") | |
281 ("pr" . "$(7$V(B") | |
282 ("brk" . "$(7"7%!(B") | |
283 ("brg" . "$(7"7%"(B") | |
284 ("brng" . "$(7"7%#(B") | |
285 ("brj" . "$(7"7%$(B") | |
286 ("brny" . "$(7"7%%(B") | |
29364
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
287 ("brt" . "$(7"7%&(B") |
17301 | 288 ("brd" . "$(7"7%'(B") |
289 ("brn" . "$(7"7%((B") | |
290 ("brts" . "$(7"7%+(B") | |
291 ("brdz" . "$(7"7%,(B") | |
292 ("brl" . "$(7"7$d(B") | |
293 ("br" . "$(7$X(B") | |
294 ("mr" . "$(7$Y(B") | |
295 ("sr" . "$(7$[(B") | |
296 ("hr" . "$(7$\(B") | |
297 ("jr" . "$(7$](B") | |
298 ("kl" . "$(7$`(B") | |
299 ("gl" . "$(7$a(B") | |
300 ("blt" . "$(7"7%E(B") | |
301 ("bld" . "$(7"7%F(B") | |
302 ("bl" . "$(7$b(B") | |
303 ("zl" . "$(7$c(B") | |
304 ("rl" . "$(7$d(B") | |
305 ("sl" . "$(7$e(B") | |
306 ("rk" . "$(7%!(B") | |
307 ("rg" . "$(7%"(B") | |
308 ("rj" . "$(7%$(B") | |
309 ("rt" . "$(7%&(B") | |
310 ("rd" . "$(7%'(B") | |
311 ("rn" . "$(7%((B") | |
312 ("rb" . "$(7%)(B") | |
313 ("rm" . "$(7%*(B") | |
314 ("lk" . "$(7%@(B") | |
315 ("lg" . "$(7%A(B") | |
316 ("lc" . "$(7%C(B") | |
317 ("lj" . "$(7%D(B") | |
318 ("lt" . "$(7%E(B") | |
319 ("ld" . "$(7%F(B") | |
320 ("ln" . "$(7!!(B") ; dummy \x2121 | |
321 ("lp" . "$(7%G(B") | |
322 ("lb" . "$(7%H(B") | |
323 ("lh" . "$(7%I(B") | |
324 ("sk" . "$(7%P(B") | |
325 ("sg" . "$(7%Q(B") | |
326 ("st" . "$(7%T(B") | |
327 ("sd" . "$(7%U(B") | |
328 ("sn" . "$(7%V(B") | |
329 ("sp" . "$(7%W(B") | |
330 ("sb" . "$(7%X(B") | |
29364
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
331 ("sm" . "$(7%Y(B")) |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
332 ) |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
333 |
17301 | 334 |
335 (defconst tibetan-subjoined-transcription-alist | |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
336 (sort '(("+k" . "$(7#!(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
337 ("+kh" . "$(7#"(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
338 ("+g" . "$(7##(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
339 ("+gh" . "$(7#$(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
340 ("+ng" . "$(7#%(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
341 ("+c" . "$(7#&(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
342 ("+ch" . "$(7#'(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
343 ("+j" . "$(7#((B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
344 ("+ny" . "$(7#*(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
345 ("+T" . "$(7#+(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
346 ("+TH" . "$(7#,(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
347 ("+D" . "$(7#-(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
348 ("+DH" . "$(7#.(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
349 ("+N" . "$(7#/(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
350 ("+t" . "$(7#0(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
351 ("+th" . "$(7#1(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
352 ("+d" . "$(7#2(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
353 ("+dh" . "$(7#3(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
354 ("+n" . "$(7#4(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
355 ("+p" . "$(7#5(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
356 ("+ph" . "$(7#6(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
357 ("+b" . "$(7#7(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
358 ("+bh" . "$(7#8(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
359 ("+m" . "$(7#9(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
360 ("+ts" . "$(7#:(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
361 ("+tsh" . "$(7#;(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
362 ("+dz" . "$(7#<(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
363 ("+dzh" . "$(7#=(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
364 ("+w" . "$(7#>(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
365 ("+zh" . "$(7#?(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
366 ("+z" . "$(7#@(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
367 ("+'" . "$(7#A(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
368 ("+y" . "$(7#B(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
369 ("+r" . "$(7#C(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
370 ("+l" . "$(7#D(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
371 ("+sh" . "$(7#E(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
372 ("+SH" . "$(7#F(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
373 ("+s" . "$(7#G(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
374 ("+h" . "$(7#H(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
375 ("+A" . "$(7#I(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
376 ("+kSH" . "$(7#J(B") |
29364
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
377 ;; Added by Tomabechi 1999/12/10 |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
378 ("+W" . "$(7#K(B") ;; fixed form subscribed WA |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
379 ("+Y" . "$(7#L(B") ;; fixed form subscribed YA |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
380 ("+R" . "$(7#M(B") ;; fixed form subscribed RA |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
381 ) |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
382 (lambda (x y) (> (length (car x)) (length (car y)))))) |
17301 | 383 |
384 ;;; | |
385 ;;; alist for Tibetan base consonant <-> subjoined consonant conversion. | |
386 ;;; | |
387 (defconst tibetan-base-to-subjoined-alist | |
388 '(("$(7"!(B" . "$(7#!(B") | |
389 ("$(7""(B" . "$(7#"(B") | |
390 ("$(7"#(B" . "$(7##(B") | |
391 ("$(7"$(B" . "$(7#$(B") | |
392 ("$(7"%(B" . "$(7#%(B") | |
393 ("$(7"&(B" . "$(7#&(B") | |
394 ("$(7"'(B" . "$(7#'(B") | |
395 ("$(7"((B" . "$(7#((B") | |
396 ("$(7"*(B" . "$(7#*(B") | |
397 ("$(7"+(B" . "$(7#+(B") | |
398 ("$(7",(B" . "$(7#,(B") | |
399 ("$(7"-(B" . "$(7#-(B") | |
400 ("$(7".(B" . "$(7#.(B") | |
401 ("$(7"/(B" . "$(7#/(B") | |
402 ("$(7"0(B" . "$(7#0(B") | |
403 ("$(7"1(B" . "$(7#1(B") | |
404 ("$(7"2(B" . "$(7#2(B") | |
405 ("$(7"3(B" . "$(7#3(B") | |
406 ("$(7"4(B" . "$(7#4(B") | |
407 ("$(7"5(B" . "$(7#5(B") | |
408 ("$(7"6(B" . "$(7#6(B") | |
409 ("$(7"7(B" . "$(7#7(B") | |
410 ("$(7"8(B" . "$(7#8(B") | |
411 ("$(7"9(B" . "$(7#9(B") | |
412 ("$(7":(B" . "$(7#:(B") | |
413 ("$(7";(B" . "$(7#;(B") | |
414 ("$(7"<(B" . "$(7#<(B") | |
415 ("$(7"=(B" . "$(7#=(B") | |
416 ("$(7">(B" . "$(7#>(B") | |
417 ("$(7"?(B" . "$(7#?(B") | |
418 ("$(7"@(B" . "$(7#@(B") | |
419 ("$(7"A(B" . "$(7#A(B") | |
420 ("$(7"B(B" . "$(7#B(B") | |
421 ("$(7"C(B" . "$(7#C(B") | |
422 ("$(7"D(B" . "$(7#D(B") | |
423 ("$(7"E(B" . "$(7#E(B") | |
424 ("$(7"F(B" . "$(7#F(B") | |
425 ("$(7"G(B" . "$(7#G(B") | |
426 ("$(7"H(B" . "$(7#H(B") | |
427 ("$(7"I(B" . "$(7#I(B") | |
29364
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
428 ("$(7"J(B" . "$(7#J(B") |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
429 ;; Added by Tomabechi 1999/12/10 |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
430 ("$(7"K(B" . "$(7#M(B") ;; Fixed form RA (224B->234D) |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
431 )) |
29597
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
432 |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
433 ;;; alist for Tibetan composite vowels (long i, vocalic r, etc.) |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
434 ;;; New varialble. created by Tomabechi 2000/06/08 |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
435 (defconst tibetan-composite-vowel-alist |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
436 '(;; LONG A |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
437 ;; ("$(7"R(B" . ((bc . tc) ?$(7"R(B)) |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
438 ;; LONG I |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
439 ("$(7"T(B" . (?$(7"R(B (tc . bc) ?$(7"S(B)) |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
440 ;; LONG U |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
441 ("$(7"V(B" . (?$(7"R(B (bc . tc) ?$(7"U(B)) |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
442 ;; VOCALIC R |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
443 ("$(7"W(B" . (?$(7#C(B (tc . bc) ?$(7"a(B)) |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
444 ;; LONG VOCALIC R |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
445 ("$(7"X(B" . (?$(7#C(B (bc . tc) ?$(7"R(B (tc . bc) ?$(7"a(B)) |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
446 ;; VOCALIC L |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
447 ("$(7"Y(B" . (?$(7#D(B (tc . bc) ?$(7"a(B)) |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
448 ;;$(7!;(BLONG VOCALIC L |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
449 ("$(7"Z(B" . (?$(7#D(B (bc . tc) ?$(7"R(B (tc . bc) ?$(7"a(B)) |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
450 ;; LONG REVERSE I |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
451 ("$(7"b(B" . (?$(7"R(B (tc . bc) ?$(7"a(B)) |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
452 )) |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
453 |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
454 |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
455 |
17301 | 456 ;;; |
457 ;;; alist for Tibetan consonantic components <-> precomposed glyph conversion. | |
458 ;;; (includes some punctuation conversion rules) | |
459 ;;; | |
460 (defconst tibetan-precomposition-rule-alist | |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
461 `(("$(7"6#B#>(B" . "$(7$G(B") |
17301 | 462 ("$(7"##C#>(B" . "$(7$_(B") |
463 ("$(7";#>(B" . "$(7$)(B") | |
464 ("$(7"C#:#>(B" . "$(7%.(B") | |
465 ("$(7"C###>(B" . "$(7%-(B") | |
466 ("$(7"C#!#B(B" . "$(7%0(B") | |
467 ("$(7"C###B(B" . "$(7%1(B") | |
468 ("$(7"C#9#B(B" . "$(7%2(B") | |
469 ("$(7"G#!#B(B" . "$(7%`(B") | |
470 ("$(7"G###B(B" . "$(7%a(B") | |
471 ("$(7"G#5#B(B" . "$(7%b(B") | |
472 ("$(7"G#7#B(B" . "$(7%c(B") | |
473 ("$(7"G#9#B(B" . "$(7%d(B") | |
474 ("$(7"G#!#C(B" . "$(7%p(B") | |
475 ("$(7"G###C(B" . "$(7%q(B") | |
476 ("$(7"G#4#C(B" . "$(7%r(B") | |
477 ("$(7"G#5#C(B" . "$(7%s(B") | |
478 ("$(7"G#7#C(B" . "$(7%t(B") | |
479 ("$(7"G#9#C(B" . "$(7%u(B") | |
480 ("$(7""#>(B" . "$(7$"(B") | |
481 ("$(7"*#>(B" . "$(7$%(B") | |
482 ("$(7":#>(B" . "$(7$((B") | |
483 ("$(7"?#>(B" . "$(7$*(B") | |
484 ("$(7"E#>(B" . "$(7$.(B") | |
485 ("$(7""#B(B" . "$(7$A(B") | |
486 ("$(7"6#B(B" . "$(7$D(B") | |
487 ("$(7""#C(B" . "$(7$Q(B") | |
488 ("$(7"1#C(B" . "$(7$T(B") | |
489 ("$(7"6#C(B" . "$(7$W(B") | |
490 ("$(7"E#C(B" . "$(7$Z(B") | |
491 ("$(7"<#C(B" . "$(7$^(B") | |
492 ("$(7"C#%(B" . "$(7%#(B") | |
493 ("$(7"C#*(B" . "$(7%%(B") | |
494 ("$(7"C#:(B" . "$(7%+(B") | |
495 ("$(7"C#<(B" . "$(7%,(B") | |
496 ("$(7"D#%(B" . "$(7%B(B") | |
497 ("$(7"G#%(B" . "$(7%R(B") | |
498 ("$(7"G#*(B" . "$(7%S(B") | |
499 ("$(7"G#:(B" . "$(7%Z(B") | |
500 ("$(7"!#>(B" . "$(7$!(B") | |
501 ("$(7"##>(B" . "$(7$#(B") | |
502 ("$(7"&#>(B" . "$(7$$(B") | |
503 ("$(7"0#>(B" . "$(7$&(B") | |
504 ("$(7"2#>(B" . "$(7$'(B") | |
505 ("$(7"@#>(B" . "$(7$+(B") | |
506 ("$(7"C#>(B" . "$(7$,(B") | |
507 ("$(7"D#>(B" . "$(7$-(B") | |
508 ("$(7"G#>(B" . "$(7$/(B") | |
509 ("$(7"H#>(B" . "$(7$0(B") | |
510 ("$(7"!#B(B" . "$(7$@(B") | |
511 ("$(7"##B(B" . "$(7$B(B") | |
512 ("$(7"5#B(B" . "$(7$C(B") | |
513 ("$(7"7#B(B" . "$(7$E(B") | |
514 ("$(7"9#B(B" . "$(7$F(B") | |
515 ("$(7"!#C(B" . "$(7$P(B") | |
516 ("$(7"##C(B" . "$(7$R(B") | |
517 ("$(7"0#C(B" . "$(7$S(B") | |
518 ("$(7"2#C(B" . "$(7$U(B") | |
519 ("$(7"5#C(B" . "$(7$V(B") | |
520 ("$(7"7#C(B" . "$(7$X(B") | |
521 ("$(7"9#C(B" . "$(7$Y(B") | |
522 ("$(7"G#C(B" . "$(7$[(B") | |
523 ("$(7"H#C(B" . "$(7$\(B") | |
524 ("$(7"(#C(B" . "$(7$](B") | |
525 ("$(7"!#D(B" . "$(7$`(B") | |
526 ("$(7"##D(B" . "$(7$a(B") | |
527 ("$(7"7#D(B" . "$(7$b(B") | |
528 ("$(7"@#D(B" . "$(7$c(B") | |
529 ("$(7"C#D(B" . "$(7$d(B") | |
530 ("$(7"G#D(B" . "$(7$e(B") | |
531 ("$(7"C#!(B" . "$(7%!(B") | |
532 ("$(7"C##(B" . "$(7%"(B") | |
533 ("$(7"C#((B" . "$(7%$(B") | |
534 ("$(7"C#0(B" . "$(7%&(B") | |
535 ("$(7"C#2(B" . "$(7%'(B") | |
536 ("$(7"C#4(B" . "$(7%((B") | |
537 ("$(7"C#7(B" . "$(7%)(B") | |
538 ("$(7"C#9(B" . "$(7%*(B") | |
539 ("$(7"D#!(B" . "$(7%@(B") | |
540 ("$(7"D##(B" . "$(7%A(B") | |
29597
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
541 ("$(7"D#4(B" . "$(7!!(B") ; dummy 0x2121 added 2000/06/08 for transition l -> lng |
17301 | 542 ("$(7"D#&(B" . "$(7%C(B") |
543 ("$(7"D#((B" . "$(7%D(B") | |
544 ("$(7"D#0(B" . "$(7%E(B") | |
545 ("$(7"D#2(B" . "$(7%F(B") | |
546 ("$(7"D#5(B" . "$(7%G(B") | |
547 ("$(7"D#7(B" . "$(7%H(B") | |
548 ("$(7"D#H(B" . "$(7%I(B") | |
549 ("$(7"G#!(B" . "$(7%P(B") | |
550 ("$(7"G##(B" . "$(7%Q(B") | |
551 ("$(7"G#0(B" . "$(7%T(B") | |
552 ("$(7"G#2(B" . "$(7%U(B") | |
553 ("$(7"G#4(B" . "$(7%V(B") | |
554 ("$(7"G#5(B" . "$(7%W(B") | |
555 ("$(7"G#7(B" . "$(7%X(B") | |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
556 ("$(7"G#9(B" . "$(7%Y(B"))) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
557 |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
558 (defconst tibetan-obsolete-glyphs |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
559 `(("$(7!=(B" . "$(8!=(B") ; 2 col <-> 1 col |
17301 | 560 ("$(7!?(B" . "$(8!?(B") |
561 ("$(7!@(B" . "$(8!@(B") | |
562 ("$(7!A(B" . "$(8!A(B") | |
563 ("$(7"`(B" . "$(8"`(B") | |
564 ("$(7!;(B" . "$(8!;(B") | |
565 ("$(7!D(B" . "$(8!D(B") | |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
566 ;; Yes these are dirty. But ... |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
567 ("$(7!>(B $(7!>(B" . ,(compose-string "$(7!>(B $(7!>(B" 0 3 [?$(7!>(B (Br . Bl) ? (Br . Bl) ?$(7!>(B])) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
568 ("$(7!4!5!5(B" . ,(compose-string |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
569 "$(7#R#S#S#S(B" 0 4 |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
570 [?$(7#R(B (Br . Bl) ?$(7#S(B (Br . Bl) ?$(7#S(B (Br . Bl) ?$(7#S(B])) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
571 ("$(7!4!5(B" . ,(compose-string "$(7#R#S#S(B" 0 3 [?$(7#R(B (Br . Bl) ?$(7#S(B (Br . Bl) ?$(7#S(B])) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
572 ("$(7!6(B" . ,(compose-string "$(7#R#S!I(B" 0 3 [?$(7#R(B (Br . Bl) ?$(7#S(B (br . tr) ?$(7!I(B])) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
573 ("$(7!4(B" . ,(compose-string "$(7#R#S(B" 0 2 [?$(7#R(B (Br . Bl) ?$(7#S(B])))) |
17301 | 574 |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
575 (defconst tibetan-regexp |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
576 (let ((l (list tibetan-precomposed-transcription-alist |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
577 tibetan-consonant-transcription-alist |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
578 tibetan-vowel-transcription-alist |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
579 tibetan-modifier-transcription-alist |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
580 tibetan-subjoined-transcription-alist)) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
581 (separator "\\|") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
582 tail pattern) |
17301 | 583 (while l |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
584 (setq tail (car l) l (cdr l)) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
585 (while tail |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
586 (setq pattern (cons separator (cons (car (car tail)) pattern)) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
587 tail (cdr tail)))) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
588 (apply 'concat (nreverse (cdr pattern)))) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
589 "Regexp matching a Tibetan transcription of a composable Tibetan sequence. |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
590 The result of matching is to be used for indexing alists at conversion |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
591 from a roman transcription to the corresponding Tibetan character.") |
17301 | 592 |
593 (defvar tibetan-precomposed-regexp | |
594 (let ((l tibetan-precomposed-transcription-alist) | |
595 temp) | |
596 (setq temp "^\\(") | |
597 (setq temp | |
598 (concat temp (car (car l)))) | |
599 (setq l (cdr l)) | |
600 (while l | |
601 (setq temp | |
602 (concat temp "\\|" (car (car l)))) | |
603 (setq l (cdr l))) | |
604 (concat temp "\\)")) | |
605 "Regexp string to match a romanized Tibetan complex consonant. | |
606 The result of matching is to be used for indexing alists when the input key | |
607 from an input method is converted to the corresponding precomposed glyph.") | |
608 | |
609 (defvar tibetan-precomposition-rule-regexp | |
610 (let ((l tibetan-precomposition-rule-alist) | |
611 temp) | |
612 (setq temp "\\(") | |
613 (setq temp (concat temp (car (car l)))) | |
614 (setq l (cdr l)) | |
615 (while l | |
616 (setq temp (concat temp "\\|" (car (car l)))) | |
617 (setq l (cdr l))) | |
618 (concat temp "\\)")) | |
619 "Regexp string to match a sequence of Tibetan consonantic components, i.e., | |
620 one base consonant and one or more subjoined consonants. | |
621 The result of matching is to be used for indexing alist when the component | |
622 sequence is converted to the corresponding precomposed glyph. | |
623 This also matches some punctuation characters which need conversion.") | |
624 | |
625 (defvar tibetan-decomposed nil) | |
626 (defvar tibetan-decomposed-temp nil) | |
627 | |
33778 | 628 (provide 'tibetan) |
629 | |
38436
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
33778
diff
changeset
|
630 ;;; tibetan.el ends here |