Xml文件  |  133行  |  2.25 KB

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE supplementalData SYSTEM "../../common/dtd/ldmlSupplemental.dtd">
<!--
Copyright © 1991-2013 Unicode, Inc.
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
For terms of use, see http://www.unicode.org/copyright.html
-->
<supplementalData>
	<version number="$Revision: 13787 $"/>
	<transforms>
		<transform source="ru_Latn" target="ru" variant="BGN" direction="forward" draft="contributed" alias="Latin-Russian/BGN ru-t-ru-latn-m0-bgn">
			<tRule><![CDATA[

# BGN/PCGN 1947 System for Russian, in direction ru_Latn → ru
# http://geonames.nga.mil/gns/html/Romanization/Romanization_Russian.pdf

$prime = ʹ;
$doublePrime = ʺ;
$wordBoundary = [^[:L:][:M:][:N:]];
$upperConsonant = [БВГДЖЙКЛМНПРСТФХЦЧШЩЭ];
$lowerConsonant = [бвгджйклмнпрстфхцчшщэ];
$consonant = [$upperConsonant $lowerConsonant];

::NFC;

[:Upper:] {$prime} [^[:Lower:]] → Ь;
$prime → ь;

[:Upper:] {$doublePrime} [^[:Lower:]] → Ъ;
$doublePrime → ъ;

K[Hh] → Х;
k[Hh] → х;

T·S → ТС;
T·s → Тс;
t·S → тС;
t·s → тс;

T[Ss] → Ц;
t[Ss] → ц;

C[Hh] → Ч;
c[Hh] → ч;

S[Hh]·C[Hh] → ШЧ;
S[Hh]·c[Hh] → Шч;
s[Hh]·C[Hh] → шЧ;
s[Hh]·c[Hh] → шч;

S[Hh][Cc][Hh] → Щ;
s[Hh][Cc][Hh] → щ;

S[Hh] → Ш;
s[Hh] → ш;

Y[Ee] → Е;
y[Ee] → е;

Y[Ëë] → Ё;
y[Ëë] → ё;

Y[Uu] → Ю;
y[Uu] → ю;

Y[Aa] → Я;
y[Aa] → я;

{yy} $wordBoundary → ый;
$wordBoundary {Y} [^aeëiouyAEËIOUY] → Ы;
$wordBoundary {y} [^aeëiouyAEËIOUY] → ы;
$consonant {Y} → Ы;
$consonant {y} → ы;
Y → Й;
y → й;

$wordBoundary {E} → Э;
$wordBoundary {e} → э;
·E → Э;
·e → э;
E → Е;
e → е;

A → А;
a → а;
B → Б;
b → б;
V → В;
v → в;
G → Г;
g → г;
D → Д;
d → д;
Ë → Ё;
ë → ё;
Z[Hh] → Ж;
z[Hh] → ж;
Z → З;
z → з;
I → И;
i → и;
K → К;
k → к;
L → Л;
l → л;
M → М;
m → м;
N → Н;
n → н;
O → О;
o → о;
P → П;
p → п;
R → Р;
r → р;
S → С;
s → с;
T → Т;
t → т;
U → У;
u → у;
F → Ф;
f → ф;

·Y → Ы;
·y → ы;

· → ;
			]]></tRule>
		</transform>
	</transforms>
</supplementalData>