You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

162 lines
2.5 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?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$"/>
<transforms>
<transform source="ja_Latn" target="ru" direction="forward" alias="ru-t-ja-latn">
<tRule>
# Japanese (Rōmaji) to Russian (Cyrillic) Polivanov transliteration for ICU.
# Can be run in sequence after e.g. Katakana-Latin.
#
# These rules cannot be used to target Bulgarian, Serbian, Tajik, or Ukrainian.
#
# TODO: Cyrillization needs to respect morpheme/Kanji boundaries.
# 中井 becomes Накаи, but 北海道 becomes Хоккайдо. We need boundary
# markup in the input in order to do that properly.
#
::NFD(NFC);
::[:Latin:] Lower();
#
#
$lengthMarker = [̂̄];
#
#
# Delete apostrophes. Apostrophes after "n" are consumed below.
\' → ;
#
#
# Turn long /e:/ into diphthong /ei/.
# Note that /ei/ across a morpheme boundary (e.g. 武井 Takei) becomes эи.
e $lengthMarker → эй ;
#
#
# Turn long /i:/ into two vowels /ii/.
i $lengthMarker → | i i ;
#
#
# Ignore vowel length everywhere else.
$lengthMarker → ;
#
#
# Vowels.
#
# TODO(mjansche): Enable diphthongs once we have Kanji boundaries.
## ai → ай ;
a → а ;
i\~e → | ye ;
i → и ;
u\~ → в ; # ウィ etc.
#
## ui → уй ;
u → у ;
e → э ;
o → о ;
#
#
# Consonants.
#
k → к ;
#
#
sh → | sy ;
s → с ;
#
#
ch → | ty ;
c } ch → t ;
te\~ → | t ; # テュ
to\~ → | t ; # トゥ
tsu\~ → | ts ; # ツァ, ツィ, etc.
ts → ц ;
t → т ;
#
#
\~tsu → | tsu ;
#
#
n } [bpm] → м ; # 群馬 → Гумма
n\' → нъ ;
n → н ;
#
#
h → х ;
fu\~ → | f ; # フュ
f → ф ;
#
#
m → м ;
#
#
ya → я ;
yi → и ; # Added for convenience, after sh, ch, j.
yu → ю ;
ye → е ; # ?? unobserved
yo → ё ;
#
#
r → р ;
#
#
wa → ва ;
w → ;
#
#
g → г ;
#
#
j → | zy ;
z → дз ;
#
#
de\~ → | d ; # デュ
dji\~ → | z ; # ヂャ, ヂュ, etc.
dj → | j ; # ヂ
do\~ → | d ; # ドゥ
dzu\~ → | z ; # ヅァ, ヅィ, etc.
dz → | z ; # ヅ
d → д ;
#
#
b → б ;
vu\~ → | v ; # ヴァ, etc.
v → в ; # ?? unobserved
#
#
p → п ;
#
#
::NFC(NFD);
</tRule>
</transform>
</transforms>
</supplementalData>