larvitgeodata
Version:
Geo data, primarily ISO territories, languages etc. Data fetched mostly from CLDR.
123 lines (113 loc) • 4.27 kB
text/xml
<!-- 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: 11914 $" />
<transforms>
<transform source="uz_Cyrl" target="uz_Latn" direction="both">
<comment># Rules are predicated on running NFD first, and NFC afterwards</comment>
<tRule>:: NFD (NFC) ;</tRule>
<tRule>$letters = [[:sc=Latn:][:sc=Cyrl:] & [:L:]] ;</tRule>
<tRule>$latinVowel = [AEIOUaeiouĬĭʼËë{oʻ}{Oʻ}] ;</tRule>
<tRule>$lower = [$letters & [:Ll:]] ;</tRule>
<tRule>у \u0306 ↔ oʻ ;</tRule>
<tRule>У \u0306 ↔ Oʻ ;</tRule>
<tRule>ғ ↔ gʻ ;</tRule>
<tRule>Ғ ↔ Gʻ ;</tRule>
<comment># For many cases, use a following character to determine the difference between XY and Xy</comment>
<tRule>ш ↔ sh ;</tRule>
<tRule>{ Ш } $lower ↔ Sh ;</tRule>
<tRule>Ш ↔ SH ;</tRule>
<tRule>ч ↔ ch ;</tRule>
<tRule>{ Ч } $lower ↔ Ch ;</tRule>
<tRule>Ч ↔ CH ;</tRule>
<comment># нг ↔ ng ; as separate letters works</comment>
<comment># Нг ↔ Ng ; as separate letters works</comment>
<comment># If we have a lowercase letter on either side, use the lowercase hard sign</comment>
<tRule>ъ ↔ { ʼ } $lower ;</tRule>
<tRule>ъ ← $lower { ʼ } ;</tRule>
<tRule>Ъ ↔ ʼ ;</tRule>
<tRule>е\u0308 ↔ yo ;</tRule>
<tRule>Е\u0308 } $lower ↔ Yo ;</tRule>
<tRule>Е\u0308 ↔ YO ;</tRule>
<comment># е → 'ye' at the beginning of a syllable, after a vowel, ъ or ь, otherwise 'e'</comment>
<tRule>[:^L:] { е ↔ ye ;</tRule>
<tRule>[:^L:] { Е } $lower ↔ Ye ;</tRule>
<tRule>[:^L:] {Е ↔ YE ;</tRule>
<tRule>$latinVowel { е → ye ;</tRule>
<tRule>$latinVowel { Е } $lower → Ye ;</tRule>
<tRule>$latinVowel { Е → YE ;</tRule>
<comment># handle these specially, since ьЬ otherwise disappear.</comment>
<tRule>ье → ye ;</tRule>
<tRule>{ ьЕ } $lower → Ye ;</tRule>
<tRule>ьЕ → YE ;</tRule>
<tRule>Ье → ye ;</tRule>
<tRule>{ ЬЕ } $lower → Ye ;</tRule>
<tRule>ЬЕ → YE ;</tRule>
<tRule>е → e ;</tRule>
<tRule>Е → E ;</tRule>
<tRule>ю ↔ yu ;</tRule>
<tRule>{ Ю } $lower ↔ Yu ;</tRule>
<tRule>Ю ↔ YU ;</tRule>
<tRule>я ↔ ya ;</tRule>
<tRule>{ Я } $lower ↔ Ya ;</tRule>
<tRule>Я ↔ YA ;</tRule>
<tRule>ц ↔ ts ;</tRule>
<tRule>{ Ц } $lower ↔ Ts ;</tRule>
<tRule>Ц ↔ TS ;</tRule>
<tRule>а ↔ a ;</tRule>
<tRule>А ↔ A ;</tRule>
<tRule>б ↔ b ;</tRule>
<tRule>Б ↔ B ;</tRule>
<tRule>д ↔ d ;</tRule>
<tRule>Д ↔ D ;</tRule>
<tRule>э ↔ e ;</tRule>
<tRule>Э ↔ E ;</tRule>
<tRule>ф ↔ f ;</tRule>
<tRule>Ф ↔ F ;</tRule>
<tRule>г ↔ g ;</tRule>
<tRule>Г ↔ G ;</tRule>
<tRule>ҳ ↔ h ;</tRule>
<tRule>Ҳ ↔ H ;</tRule>
<tRule>и\u0306 ↔ y ;</tRule>
<tRule>И\u0306 ↔ Y ;</tRule>
<tRule>и ↔ i ;</tRule>
<tRule>И ↔ I ;</tRule>
<tRule>ж ↔ j ;</tRule>
<tRule>Ж ↔ J ;</tRule>
<tRule>к ↔ k ;</tRule>
<tRule>К ↔ K ;</tRule>
<tRule>л ↔ l ;</tRule>
<tRule>Л ↔ L ;</tRule>
<tRule>м ↔ m ;</tRule>
<tRule>М ↔ M ;</tRule>
<tRule>н ↔ n ;</tRule>
<tRule>Н ↔ N ;</tRule>
<tRule>о ↔ o ;</tRule>
<tRule>О ↔ O ;</tRule>
<tRule>п ↔ p ;</tRule>
<tRule>П ↔ P ;</tRule>
<tRule>қ ↔ q ;</tRule>
<tRule>Қ ↔ Q ;</tRule>
<tRule>р ↔ r ;</tRule>
<tRule>Р ↔ R ;</tRule>
<tRule>с ↔ s ;</tRule>
<tRule>С ↔ S ;</tRule>
<tRule>т ↔ t ;</tRule>
<tRule>Т ↔ T ;</tRule>
<tRule>у ↔ u ;</tRule>
<tRule>У ↔ U ;</tRule>
<tRule>в ↔ v ;</tRule>
<tRule>В ↔ V ;</tRule>
<tRule>х ↔ x ;</tRule>
<tRule>Х ↔ X ;</tRule>
<tRule>з ↔ z ;</tRule>
<tRule>З ↔ Z ;</tRule>
<tRule>ь → ;</tRule>
<tRule>Ь → ;</tRule>
<tRule>::NFC (NFD) ;</tRule>
</transform>
</transforms>
</supplementalData>