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