annotate lisp/language/tibetan.el @ 89633:40b05b530518

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