Mercurial > emacs
annotate lisp/language/tibetan.el @ 106318:ef396422d3f1
(ediff-minibuffer-with-setup-hook): New compatibility macro.
(ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Sun, 29 Nov 2009 23:52:16 +0000 |
parents | 0ad1fc06bfc8 |
children | 1d1d5d9bd884 |
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 |
101078
5f4e85fd7c0a
Comments (minor fixes of some header conventions).
Glenn Morris <rgm@gnu.org>
parents:
100908
diff
changeset
|
3 ;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
5f4e85fd7c0a
Comments (minor fixes of some header conventions).
Glenn Morris <rgm@gnu.org>
parents:
100908
diff
changeset
|
4 ;; 2009 Free Software Foundation, Inc. |
79711 | 5 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, |
100908 | 6 ;; 2006, 2007, 2008, 2009 |
62396 | 7 ;; National Institute of Advanced Industrial Science and Technology (AIST) |
8 ;; Registration Number H14PRO021 | |
89483 | 9 ;; Copyright (C) 2003 |
10 ;; National Institute of Advanced Industrial Science and Technology (AIST) | |
11 ;; Registration Number H13PRO009 | |
17301 | 12 |
101078
5f4e85fd7c0a
Comments (minor fixes of some header conventions).
Glenn Morris <rgm@gnu.org>
parents:
100908
diff
changeset
|
13 ;; Author: Toru TOMABECHI <Toru.Tomabechi@orient.unil.ch> |
5f4e85fd7c0a
Comments (minor fixes of some header conventions).
Glenn Morris <rgm@gnu.org>
parents:
100908
diff
changeset
|
14 ;; Created: Feb. 17. 1997 |
89483 | 15 ;; Keywords: multilingual, Tibetan, i18n |
17301 | 16 |
17 ;; This file is part of GNU Emacs. | |
18 | |
94665
55b7f25d920a
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93975
diff
changeset
|
19 ;; GNU Emacs is free software: you can redistribute it and/or modify |
17301 | 20 ;; it under the terms of the GNU General Public License as published by |
94665
55b7f25d920a
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93975
diff
changeset
|
21 ;; the Free Software Foundation, either version 3 of the License, or |
55b7f25d920a
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93975
diff
changeset
|
22 ;; (at your option) any later version. |
17301 | 23 |
24 ;; GNU Emacs is distributed in the hope that it will be useful, | |
25 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
26 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
27 ;; GNU General Public License for more details. | |
28 | |
29 ;; You should have received a copy of the GNU General Public License | |
94665
55b7f25d920a
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93975
diff
changeset
|
30 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
17301 | 31 |
101078
5f4e85fd7c0a
Comments (minor fixes of some header conventions).
Glenn Morris <rgm@gnu.org>
parents:
100908
diff
changeset
|
32 ;;; History: |
17301 | 33 |
49598
0d8b17d428b5
Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
45031
diff
changeset
|
34 ;; 1997.03.13 Modification for special signs and punctuations. |
17301 | 35 |
38436
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
33778
diff
changeset
|
36 ;;; Commentary: |
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
33778
diff
changeset
|
37 |
17301 | 38 ;;; Code: |
39 | |
40 ;;; Tibetan Character set. | |
41 ;;; \x2130 -- \x234a is a subset of Unicode v.2 \x0f00 - \x0fb9 | |
42 ;;; with a slight modification. And there are some subjoined | |
43 ;;; consonants which are not specified in Unicode. | |
44 ;;; I hope I can add missing characters later. | |
45 ;;; | |
46 ;;; 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
|
47 ;;;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 | 48 ;;;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, |
49 ;;;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 | |
50 ;;;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. | |
51 ;;;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 ; | |
52 ;;;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 // ; | |
53 ;;; | |
54 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | |
55 ;;;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 | |
56 ;;;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 | |
57 ;;;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. | |
58 ;;;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) | |
59 ;;;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
|
60 ;;;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
|
61 ;;; ; atomically |
49598
0d8b17d428b5
Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
45031
diff
changeset
|
62 ;;; ; encoded. |
17301 | 63 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |
64 ;;;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 | |
65 ;;;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
|
66 ;;;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 | 67 ;;;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 |
68 ;;;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 | |
69 ;;;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
|
70 ;;; |
17301 | 71 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |
72 ;;;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 | |
73 ;;;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 | |
74 ;;;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. | |
75 ;;;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 | |
49598
0d8b17d428b5
Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
45031
diff
changeset
|
76 ;;;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 |
17301 | 77 ;;;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 |
78 ;;; ; when written on a | |
79 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F ; file in Tibetan | |
80 ;;;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. | |
81 ;;;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 ; | |
82 ;;;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 ; | |
83 ;;;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 ; | |
84 ;;;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 ; | |
85 ;;;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 // ; | |
86 ;;; | |
87 | |
88 | |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42152
diff
changeset
|
89 (define-coding-system 'tibetan-iso-8bit |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42152
diff
changeset
|
90 "8-bit encoding for ASCII (MSB=0) and TIBETAN (MSB=1)." |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42152
diff
changeset
|
91 :coding-type 'iso-2022 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42152
diff
changeset
|
92 :mnemonic ?Q |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42152
diff
changeset
|
93 :designation [ascii tibetan nil nil] |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42152
diff
changeset
|
94 :charset-list '(ascii tibetan)) |
17301 | 95 |
20739
5f2c7f919bbf
Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
96 (define-coding-system-alias 'tibetan 'tibetan-iso-8bit) |
17301 | 97 |
98 (set-language-info-alist | |
22983
7a010b8c0d99
("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents:
20739
diff
changeset
|
99 "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
|
100 (coding-system tibetan-iso-8bit) |
5f2c7f919bbf
Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
101 (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
|
102 (input-method . "tibetan-wylie") |
7a010b8c0d99
("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents:
20739
diff
changeset
|
103 (features tibet-util) |
17301 | 104 (documentation . t) |
104360
8da66c101640
("Tibetan"): Fix sample-text entry.
Kenichi Handa <handa@m17n.org>
parents:
101078
diff
changeset
|
105 (sample-text . "Tibetan ($(7"7"]"2!;"G#!"Q"2!;(B) $(7!4!5!5!>"7"!#C"Q!;"E"S"G!;"7"2"[!;"D"["#"G!>"I"]"_!;"9"Q!;"/"S!;"5"Q"2#9"[!;"H"A"U"c!>(B"))) |
17301 | 106 |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
107 ;; `$(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
|
108 ;; treat it specially in tibetan-add-components. |
29364
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
109 ;; modified by Tomabechi 1999/12/10 |
29597
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
110 ;; modified by Tomabechi 2000/06/08 |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
111 ;; To allow infinite addition of vowels/modifiers |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
112 ;; as specified in Unicode v.3 |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
113 ;; $(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
|
114 ;; (for Unicode support) |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
115 (defconst tibetan-composable-pattern |
89483 | 116 "[$(7"!(B-$(7"J"K(B][$(7#!(B-$(7#J#K#L#M(B]*[$,1FP$(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
|
117 "Regexp matching a composable sequence of Tibetan characters.") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
118 |
17301 | 119 ;;; |
120 ;;; Definitions of conversion data. | |
121 ;;; | |
122 | |
123 | |
124 ;;; alists for tibetan char <-> transcription conversion | |
125 ;;; longer transcription should come first | |
126 (defconst tibetan-consonant-transcription-alist | |
127 '(("tsh" . "$(7";(B") | |
128 ("dzh" . "$(7"=(B") | |
129 ("kSH" . "$(7"J(B") | |
130 ("kh" . "$(7""(B") | |
131 ("gh" . "$(7"$(B") | |
132 ("ng" . "$(7"%(B") | |
133 ("ch" . "$(7"'(B") | |
134 ("ny" . "$(7"*(B") | |
135 ("TH" . "$(7",(B") | |
136 ("DH" . "$(7".(B") | |
137 ("th" . "$(7"1(B") | |
138 ("dh" . "$(7"3(B") | |
139 ("ph" . "$(7"6(B") | |
140 ("bh" . "$(7"8(B") | |
141 ("ts" . "$(7":(B") | |
142 ("dz" . "$(7"<(B") | |
143 ("zh" . "$(7"?(B") | |
144 ("sh" . "$(7"E(B") | |
145 ("SH" . "$(7"F(B") | |
146 ("k" . "$(7"!(B") | |
147 ("g" . "$(7"#(B") | |
148 ("c" . "$(7"&(B") | |
149 ("j" . "$(7"((B") | |
150 ("T" . "$(7"+(B") | |
151 ("D" . "$(7"-(B") | |
152 ("N" . "$(7"/(B") | |
153 ("t" . "$(7"0(B") | |
154 ("d" . "$(7"2(B") | |
155 ("n" . "$(7"4(B") | |
156 ("p" . "$(7"5(B") | |
157 ("b" . "$(7"7(B") | |
158 ("m" . "$(7"9(B") | |
159 ("w" . "$(7">(B") | |
160 ("z" . "$(7"@(B") | |
161 ("'" . "$(7"A(B") | |
162 ("y" . "$(7"B(B") | |
163 ("r" . "$(7"C(B") | |
164 ("l" . "$(7"D(B") | |
165 ("s" . "$(7"G(B") | |
166 ("h" . "$(7"H(B") | |
167 ("H" . "$(7"H(B") | |
29364
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
168 ("A" . "$(7"I(B") |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
169 ;; Added by Tomabechi 1999/12/10 |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
170 ("R" . "$(7"K(B") ;; fixed form RA |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
171 )) |
17301 | 172 |
173 | |
174 (defconst tibetan-vowel-transcription-alist | |
29597
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
175 '( |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
176 ;; Composite Vowels |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
177 ;; Added by Tomabechi 2000/06/08 |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
178 ("frr" . "$(7"X(B") |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
179 ("fll" . "$(7"Z(B") |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
180 ("fa" . "$(7"R(B") |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
181 ("fi" . "$(7"T(B") |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
182 ("fu" . "$(7"V(B") |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
183 ("fr" . "$(7"W(B") |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
184 ("fl" . "$(7"Y(B") |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
185 ("fI" . "$(7"b(B") |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
186 ;; Normal Vowels |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
187 ("ai" . "$(7"\(B") |
17301 | 188 ("au" . "$(7"^(B") |
189 ("ee" . "$(7"\(B") | |
190 ("oo" . "$(7"^(B") | |
191 ("a" . "$(7"Q(B") ; invisible vowel sign (\x2251) | |
192 ("i" . "$(7"S(B") | |
193 ("u" . "$(7"U(B") | |
194 ("e" . "$(7"[(B") | |
195 ("o" . "$(7"](B") | |
196 ("E" . "$(7"\(B") | |
197 ("O" . "$(7"^(B") | |
198 ("I" . "$(7"a(B") | |
199 ("," . "$(7"e(B") ; idem. | |
200 )) | |
201 | |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
202 (defconst tibetan-modifier-transcription-alist |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
203 '(("M" . "$(7"_(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
204 ("~" . "$(7"c(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
205 ("`" . "$(7"d(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
206 ("x" . "$(7"i(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
207 ("X" . "$(7"j(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
208 ("v" . "$(7"g(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
209 ("V" . "$(7"h(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
210 ("q" . "$(7"k(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
211 ("Q" . "$(7"l(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
212 ("_/" . "$(7!I(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
213 ("_o" . "$(7!g(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
214 ("_O" . "$(7!e(B"))) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
215 |
17301 | 216 (defconst tibetan-precomposed-transcription-alist |
217 '(("phyw" . "$(7$G(B") | |
218 ("tshw" . "$(7$)(B") | |
219 ("rtsw" . "$(7%.(B") | |
220 ("khw" . "$(7$"(B") | |
221 ("nyw" . "$(7$%(B") | |
222 ("tsw" . "$(7$((B") | |
223 ("zhw" . "$(7$*(B") | |
224 ("shw" . "$(7$.(B") | |
225 ("khy" . "$(7$A(B") | |
226 ("phy" . "$(7$D(B") | |
227 ("khr" . "$(7$Q(B") | |
228 ("thr" . "$(7$T(B") | |
229 ("phr" . "$(7$W(B") | |
230 ("shr" . "$(7$Z(B") | |
231 ("dzr" . "$(7$^(B") | |
232 ("grw" . "$(7$_(B") | |
233 ("rng" . "$(7%#(B") | |
234 ("rny" . "$(7%%(B") | |
235 ("rts" . "$(7%+(B") | |
236 ("rdz" . "$(7%,(B") | |
237 ("rgw" . "$(7%-(B") | |
238 ("rky" . "$(7%0(B") | |
239 ("rgy" . "$(7%1(B") | |
240 ("rmy" . "$(7%2(B") | |
241 ("lng" . "$(7%B(B") | |
242 ("sng" . "$(7%R(B") | |
243 ("sny" . "$(7%S(B") | |
244 ("sts" . "$(7%Z(B") | |
245 ("sky" . "$(7%`(B") | |
246 ("sgy" . "$(7%a(B") | |
247 ("spy" . "$(7%b(B") | |
248 ("sby" . "$(7%c(B") | |
249 ("smy" . "$(7%d(B") | |
250 ("skr" . "$(7%p(B") | |
251 ("sgr" . "$(7%q(B") | |
252 ("snr" . "$(7%r(B") | |
253 ("spr" . "$(7%s(B") | |
254 ("sbr" . "$(7%t(B") | |
255 ("smr" . "$(7%u(B") | |
256 ("kw" . "$(7$!(B") | |
257 ("gw" . "$(7$#(B") | |
258 ("cw" . "$(7$$(B") | |
259 ("tw" . "$(7$&(B") | |
260 ("dw" . "$(7$'(B") | |
261 ("zw" . "$(7$+(B") | |
262 ("rw" . "$(7$,(B") | |
263 ("lw" . "$(7$-(B") | |
264 ("sw" . "$(7$/(B") | |
265 ("hw" . "$(7$0(B") | |
266 ("ky" . "$(7$@(B") | |
267 ("gy" . "$(7$B(B") | |
268 ("py" . "$(7$C(B") | |
269 ("by" . "$(7$E(B") | |
270 ("my" . "$(7$F(B") | |
271 ("kr" . "$(7$P(B") | |
272 ("gr" . "$(7$R(B") | |
273 ("tr" . "$(7$S(B") | |
274 ("dr" . "$(7$U(B") | |
275 ("pr" . "$(7$V(B") | |
276 ("brk" . "$(7"7%!(B") | |
277 ("brg" . "$(7"7%"(B") | |
278 ("brng" . "$(7"7%#(B") | |
279 ("brj" . "$(7"7%$(B") | |
280 ("brny" . "$(7"7%%(B") | |
29364
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
281 ("brt" . "$(7"7%&(B") |
17301 | 282 ("brd" . "$(7"7%'(B") |
283 ("brn" . "$(7"7%((B") | |
284 ("brts" . "$(7"7%+(B") | |
285 ("brdz" . "$(7"7%,(B") | |
286 ("brl" . "$(7"7$d(B") | |
287 ("br" . "$(7$X(B") | |
288 ("mr" . "$(7$Y(B") | |
289 ("sr" . "$(7$[(B") | |
290 ("hr" . "$(7$\(B") | |
291 ("jr" . "$(7$](B") | |
292 ("kl" . "$(7$`(B") | |
293 ("gl" . "$(7$a(B") | |
294 ("blt" . "$(7"7%E(B") | |
295 ("bld" . "$(7"7%F(B") | |
296 ("bl" . "$(7$b(B") | |
297 ("zl" . "$(7$c(B") | |
298 ("rl" . "$(7$d(B") | |
299 ("sl" . "$(7$e(B") | |
300 ("rk" . "$(7%!(B") | |
301 ("rg" . "$(7%"(B") | |
302 ("rj" . "$(7%$(B") | |
303 ("rt" . "$(7%&(B") | |
304 ("rd" . "$(7%'(B") | |
305 ("rn" . "$(7%((B") | |
306 ("rb" . "$(7%)(B") | |
307 ("rm" . "$(7%*(B") | |
308 ("lk" . "$(7%@(B") | |
309 ("lg" . "$(7%A(B") | |
310 ("lc" . "$(7%C(B") | |
311 ("lj" . "$(7%D(B") | |
312 ("lt" . "$(7%E(B") | |
313 ("ld" . "$(7%F(B") | |
314 ("ln" . "$(7!!(B") ; dummy \x2121 | |
315 ("lp" . "$(7%G(B") | |
316 ("lb" . "$(7%H(B") | |
317 ("lh" . "$(7%I(B") | |
318 ("sk" . "$(7%P(B") | |
319 ("sg" . "$(7%Q(B") | |
320 ("st" . "$(7%T(B") | |
321 ("sd" . "$(7%U(B") | |
322 ("sn" . "$(7%V(B") | |
323 ("sp" . "$(7%W(B") | |
324 ("sb" . "$(7%X(B") | |
29364
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
325 ("sm" . "$(7%Y(B")) |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
326 ) |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
327 |
17301 | 328 |
329 (defconst tibetan-subjoined-transcription-alist | |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
330 (sort '(("+k" . "$(7#!(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
331 ("+kh" . "$(7#"(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
332 ("+g" . "$(7##(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
333 ("+gh" . "$(7#$(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
334 ("+ng" . "$(7#%(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
335 ("+c" . "$(7#&(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
336 ("+ch" . "$(7#'(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
337 ("+j" . "$(7#((B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
338 ("+ny" . "$(7#*(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
339 ("+T" . "$(7#+(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
340 ("+TH" . "$(7#,(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
341 ("+D" . "$(7#-(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
342 ("+DH" . "$(7#.(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
343 ("+N" . "$(7#/(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
344 ("+t" . "$(7#0(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
345 ("+th" . "$(7#1(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
346 ("+d" . "$(7#2(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
347 ("+dh" . "$(7#3(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
348 ("+n" . "$(7#4(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
349 ("+p" . "$(7#5(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
350 ("+ph" . "$(7#6(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
351 ("+b" . "$(7#7(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
352 ("+bh" . "$(7#8(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
353 ("+m" . "$(7#9(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
354 ("+ts" . "$(7#:(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
355 ("+tsh" . "$(7#;(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
356 ("+dz" . "$(7#<(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
357 ("+dzh" . "$(7#=(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
358 ("+w" . "$(7#>(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
359 ("+zh" . "$(7#?(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
360 ("+z" . "$(7#@(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
361 ("+'" . "$(7#A(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
362 ("+y" . "$(7#B(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
363 ("+r" . "$(7#C(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
364 ("+l" . "$(7#D(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
365 ("+sh" . "$(7#E(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
366 ("+SH" . "$(7#F(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
367 ("+s" . "$(7#G(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
368 ("+h" . "$(7#H(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
369 ("+A" . "$(7#I(B") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
370 ("+kSH" . "$(7#J(B") |
29364
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
371 ;; Added by Tomabechi 1999/12/10 |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
372 ("+W" . "$(7#K(B") ;; fixed form subscribed WA |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
373 ("+Y" . "$(7#L(B") ;; fixed form subscribed YA |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
374 ("+R" . "$(7#M(B") ;; fixed form subscribed RA |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
375 ) |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
376 (lambda (x y) (> (length (car x)) (length (car y)))))) |
17301 | 377 |
378 ;;; | |
379 ;;; alist for Tibetan base consonant <-> subjoined consonant conversion. | |
380 ;;; | |
381 (defconst tibetan-base-to-subjoined-alist | |
382 '(("$(7"!(B" . "$(7#!(B") | |
383 ("$(7""(B" . "$(7#"(B") | |
384 ("$(7"#(B" . "$(7##(B") | |
385 ("$(7"$(B" . "$(7#$(B") | |
386 ("$(7"%(B" . "$(7#%(B") | |
387 ("$(7"&(B" . "$(7#&(B") | |
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"0(B" . "$(7#0(B") | |
397 ("$(7"1(B" . "$(7#1(B") | |
398 ("$(7"2(B" . "$(7#2(B") | |
399 ("$(7"3(B" . "$(7#3(B") | |
400 ("$(7"4(B" . "$(7#4(B") | |
401 ("$(7"5(B" . "$(7#5(B") | |
402 ("$(7"6(B" . "$(7#6(B") | |
403 ("$(7"7(B" . "$(7#7(B") | |
404 ("$(7"8(B" . "$(7#8(B") | |
405 ("$(7"9(B" . "$(7#9(B") | |
406 ("$(7":(B" . "$(7#:(B") | |
407 ("$(7";(B" . "$(7#;(B") | |
408 ("$(7"<(B" . "$(7#<(B") | |
409 ("$(7"=(B" . "$(7#=(B") | |
410 ("$(7">(B" . "$(7#>(B") | |
411 ("$(7"?(B" . "$(7#?(B") | |
412 ("$(7"@(B" . "$(7#@(B") | |
413 ("$(7"A(B" . "$(7#A(B") | |
414 ("$(7"B(B" . "$(7#B(B") | |
415 ("$(7"C(B" . "$(7#C(B") | |
416 ("$(7"D(B" . "$(7#D(B") | |
417 ("$(7"E(B" . "$(7#E(B") | |
418 ("$(7"F(B" . "$(7#F(B") | |
419 ("$(7"G(B" . "$(7#G(B") | |
420 ("$(7"H(B" . "$(7#H(B") | |
421 ("$(7"I(B" . "$(7#I(B") | |
29364
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
422 ("$(7"J(B" . "$(7#J(B") |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
423 ;; Added by Tomabechi 1999/12/10 |
2891d66b723b
(tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents:
26897
diff
changeset
|
424 ("$(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
|
425 )) |
29597
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
426 |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
427 ;;; 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
|
428 ;;; New varialble. created by Tomabechi 2000/06/08 |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
429 (defconst tibetan-composite-vowel-alist |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
430 '(;; LONG A |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
431 ;; ("$(7"R(B" . ((bc . tc) ?$(7"R(B)) |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
432 ;; LONG I |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
433 ("$(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
|
434 ;; LONG U |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
435 ("$(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
|
436 ;; VOCALIC R |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
437 ("$(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
|
438 ;; LONG VOCALIC R |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
439 ("$(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
|
440 ;; VOCALIC L |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
441 ("$(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
|
442 ;;$(7!;(BLONG VOCALIC L |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
443 ("$(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
|
444 ;; LONG REVERSE I |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
445 ("$(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
|
446 )) |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
447 |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
448 |
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
449 |
17301 | 450 ;;; |
451 ;;; alist for Tibetan consonantic components <-> precomposed glyph conversion. | |
452 ;;; (includes some punctuation conversion rules) | |
453 ;;; | |
454 (defconst tibetan-precomposition-rule-alist | |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
455 `(("$(7"6#B#>(B" . "$(7$G(B") |
17301 | 456 ("$(7"##C#>(B" . "$(7$_(B") |
457 ("$(7";#>(B" . "$(7$)(B") | |
458 ("$(7"C#:#>(B" . "$(7%.(B") | |
459 ("$(7"C###>(B" . "$(7%-(B") | |
460 ("$(7"C#!#B(B" . "$(7%0(B") | |
461 ("$(7"C###B(B" . "$(7%1(B") | |
462 ("$(7"C#9#B(B" . "$(7%2(B") | |
463 ("$(7"G#!#B(B" . "$(7%`(B") | |
464 ("$(7"G###B(B" . "$(7%a(B") | |
465 ("$(7"G#5#B(B" . "$(7%b(B") | |
466 ("$(7"G#7#B(B" . "$(7%c(B") | |
467 ("$(7"G#9#B(B" . "$(7%d(B") | |
468 ("$(7"G#!#C(B" . "$(7%p(B") | |
469 ("$(7"G###C(B" . "$(7%q(B") | |
470 ("$(7"G#4#C(B" . "$(7%r(B") | |
471 ("$(7"G#5#C(B" . "$(7%s(B") | |
472 ("$(7"G#7#C(B" . "$(7%t(B") | |
473 ("$(7"G#9#C(B" . "$(7%u(B") | |
474 ("$(7""#>(B" . "$(7$"(B") | |
475 ("$(7"*#>(B" . "$(7$%(B") | |
476 ("$(7":#>(B" . "$(7$((B") | |
477 ("$(7"?#>(B" . "$(7$*(B") | |
478 ("$(7"E#>(B" . "$(7$.(B") | |
479 ("$(7""#B(B" . "$(7$A(B") | |
480 ("$(7"6#B(B" . "$(7$D(B") | |
481 ("$(7""#C(B" . "$(7$Q(B") | |
482 ("$(7"1#C(B" . "$(7$T(B") | |
483 ("$(7"6#C(B" . "$(7$W(B") | |
484 ("$(7"E#C(B" . "$(7$Z(B") | |
485 ("$(7"<#C(B" . "$(7$^(B") | |
486 ("$(7"C#%(B" . "$(7%#(B") | |
487 ("$(7"C#*(B" . "$(7%%(B") | |
488 ("$(7"C#:(B" . "$(7%+(B") | |
489 ("$(7"C#<(B" . "$(7%,(B") | |
490 ("$(7"D#%(B" . "$(7%B(B") | |
491 ("$(7"G#%(B" . "$(7%R(B") | |
492 ("$(7"G#*(B" . "$(7%S(B") | |
493 ("$(7"G#:(B" . "$(7%Z(B") | |
494 ("$(7"!#>(B" . "$(7$!(B") | |
495 ("$(7"##>(B" . "$(7$#(B") | |
496 ("$(7"&#>(B" . "$(7$$(B") | |
497 ("$(7"0#>(B" . "$(7$&(B") | |
498 ("$(7"2#>(B" . "$(7$'(B") | |
499 ("$(7"@#>(B" . "$(7$+(B") | |
500 ("$(7"C#>(B" . "$(7$,(B") | |
501 ("$(7"D#>(B" . "$(7$-(B") | |
502 ("$(7"G#>(B" . "$(7$/(B") | |
503 ("$(7"H#>(B" . "$(7$0(B") | |
504 ("$(7"!#B(B" . "$(7$@(B") | |
505 ("$(7"##B(B" . "$(7$B(B") | |
506 ("$(7"5#B(B" . "$(7$C(B") | |
507 ("$(7"7#B(B" . "$(7$E(B") | |
508 ("$(7"9#B(B" . "$(7$F(B") | |
509 ("$(7"!#C(B" . "$(7$P(B") | |
510 ("$(7"##C(B" . "$(7$R(B") | |
511 ("$(7"0#C(B" . "$(7$S(B") | |
512 ("$(7"2#C(B" . "$(7$U(B") | |
513 ("$(7"5#C(B" . "$(7$V(B") | |
514 ("$(7"7#C(B" . "$(7$X(B") | |
515 ("$(7"9#C(B" . "$(7$Y(B") | |
516 ("$(7"G#C(B" . "$(7$[(B") | |
517 ("$(7"H#C(B" . "$(7$\(B") | |
518 ("$(7"(#C(B" . "$(7$](B") | |
519 ("$(7"!#D(B" . "$(7$`(B") | |
520 ("$(7"##D(B" . "$(7$a(B") | |
521 ("$(7"7#D(B" . "$(7$b(B") | |
522 ("$(7"@#D(B" . "$(7$c(B") | |
523 ("$(7"C#D(B" . "$(7$d(B") | |
524 ("$(7"G#D(B" . "$(7$e(B") | |
525 ("$(7"C#!(B" . "$(7%!(B") | |
526 ("$(7"C##(B" . "$(7%"(B") | |
527 ("$(7"C#((B" . "$(7%$(B") | |
528 ("$(7"C#0(B" . "$(7%&(B") | |
529 ("$(7"C#2(B" . "$(7%'(B") | |
530 ("$(7"C#4(B" . "$(7%((B") | |
531 ("$(7"C#7(B" . "$(7%)(B") | |
532 ("$(7"C#9(B" . "$(7%*(B") | |
533 ("$(7"D#!(B" . "$(7%@(B") | |
534 ("$(7"D##(B" . "$(7%A(B") | |
29597
79fb788042f3
(tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29364
diff
changeset
|
535 ("$(7"D#4(B" . "$(7!!(B") ; dummy 0x2121 added 2000/06/08 for transition l -> lng |
17301 | 536 ("$(7"D#&(B" . "$(7%C(B") |
537 ("$(7"D#((B" . "$(7%D(B") | |
538 ("$(7"D#0(B" . "$(7%E(B") | |
539 ("$(7"D#2(B" . "$(7%F(B") | |
540 ("$(7"D#5(B" . "$(7%G(B") | |
541 ("$(7"D#7(B" . "$(7%H(B") | |
542 ("$(7"D#H(B" . "$(7%I(B") | |
543 ("$(7"G#!(B" . "$(7%P(B") | |
544 ("$(7"G##(B" . "$(7%Q(B") | |
545 ("$(7"G#0(B" . "$(7%T(B") | |
546 ("$(7"G#2(B" . "$(7%U(B") | |
547 ("$(7"G#4(B" . "$(7%V(B") | |
548 ("$(7"G#5(B" . "$(7%W(B") | |
549 ("$(7"G#7(B" . "$(7%X(B") | |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
550 ("$(7"G#9(B" . "$(7%Y(B"))) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
551 |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
552 (defconst tibetan-regexp |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
553 (let ((l (list tibetan-precomposed-transcription-alist |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
554 tibetan-consonant-transcription-alist |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
555 tibetan-vowel-transcription-alist |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
556 tibetan-modifier-transcription-alist |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
557 tibetan-subjoined-transcription-alist)) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
558 (separator "\\|") |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
559 tail pattern) |
17301 | 560 (while l |
26897
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
561 (setq tail (car l) l (cdr l)) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
562 (while tail |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
563 (setq pattern (cons separator (cons (car (car tail)) pattern)) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
564 tail (cdr tail)))) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
565 (apply 'concat (nreverse (cdr pattern)))) |
9895d3c3e7ce
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
23158
diff
changeset
|
566 "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
|
567 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
|
568 from a roman transcription to the corresponding Tibetan character.") |
17301 | 569 |
570 (defvar tibetan-precomposed-regexp | |
105798
0ad1fc06bfc8
* puresize.h (BASE_PURESIZE): Increase to 1470000.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
104360
diff
changeset
|
571 (purecopy |
17301 | 572 (let ((l tibetan-precomposed-transcription-alist) |
573 temp) | |
574 (setq temp "^\\(") | |
575 (setq temp | |
576 (concat temp (car (car l)))) | |
577 (setq l (cdr l)) | |
578 (while l | |
579 (setq temp | |
580 (concat temp "\\|" (car (car l)))) | |
581 (setq l (cdr l))) | |
105798
0ad1fc06bfc8
* puresize.h (BASE_PURESIZE): Increase to 1470000.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
104360
diff
changeset
|
582 (concat temp "\\)"))) |
17301 | 583 "Regexp string to match a romanized Tibetan complex consonant. |
584 The result of matching is to be used for indexing alists when the input key | |
585 from an input method is converted to the corresponding precomposed glyph.") | |
586 | |
587 (defvar tibetan-precomposition-rule-regexp | |
105798
0ad1fc06bfc8
* puresize.h (BASE_PURESIZE): Increase to 1470000.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
104360
diff
changeset
|
588 (purecopy |
17301 | 589 (let ((l tibetan-precomposition-rule-alist) |
590 temp) | |
591 (setq temp "\\(") | |
592 (setq temp (concat temp (car (car l)))) | |
593 (setq l (cdr l)) | |
594 (while l | |
595 (setq temp (concat temp "\\|" (car (car l)))) | |
596 (setq l (cdr l))) | |
105798
0ad1fc06bfc8
* puresize.h (BASE_PURESIZE): Increase to 1470000.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
104360
diff
changeset
|
597 (concat temp "\\)"))) |
17301 | 598 "Regexp string to match a sequence of Tibetan consonantic components, i.e., |
599 one base consonant and one or more subjoined consonants. | |
600 The result of matching is to be used for indexing alist when the component | |
601 sequence is converted to the corresponding precomposed glyph. | |
602 This also matches some punctuation characters which need conversion.") | |
603 | |
604 (defvar tibetan-decomposed nil) | |
605 (defvar tibetan-decomposed-temp nil) | |
606 | |
89303
cba12d896f41
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
88414
diff
changeset
|
607 ;; For automatic composition. |
97986
64b0e68e3313
Fix setting of composition-function-table.
Kenichi Handa <handa@m17n.org>
parents:
94665
diff
changeset
|
608 (set-char-table-range |
64b0e68e3313
Fix setting of composition-function-table.
Kenichi Handa <handa@m17n.org>
parents:
94665
diff
changeset
|
609 composition-function-table '(#xF00 . #xFD1) |
64b0e68e3313
Fix setting of composition-function-table.
Kenichi Handa <handa@m17n.org>
parents:
94665
diff
changeset
|
610 (list (vector tibetan-composable-pattern 0 'font-shape-gstring))) |
89303
cba12d896f41
Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents:
88414
diff
changeset
|
611 |
33778 | 612 (provide 'tibetan) |
613 | |
93975
1e3a407766b9
Fix up comment convention on the arch-tag lines.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
92180
diff
changeset
|
614 ;; arch-tag: 8d37c8d7-f95d-450f-9ec2-819e61fc79a7 |
38436
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
33778
diff
changeset
|
615 ;;; tibetan.el ends here |