Index: source/data/translit/uz_Cyrl_uz_Latn.txt |
diff --git a/source/data/translit/uz_Cyrl_uz_Latn.txt b/source/data/translit/uz_Cyrl_uz_Latn.txt |
old mode 100755 |
new mode 100644 |
index 6997a5dbbfdb23fe82f6705e067f8f6ff33d2dd7..ae94dddfe5a11d436ddb9c6529bf49bc7af06b58 |
--- a/source/data/translit/uz_Cyrl_uz_Latn.txt |
+++ b/source/data/translit/uz_Cyrl_uz_Latn.txt |
@@ -1,12 +1,11 @@ |
-# *************************************************************************** |
-# * |
-# * Copyright (C) 2004-2015, International Business Machines |
-# * Corporation; Unicode, Inc.; and others. All Rights Reserved. |
-# * |
-# *************************************************************************** |
+# © 2016 and later: Unicode, Inc. and others. |
+# License & terms of use: http://www.unicode.org/copyright.html#License |
+# |
# File: uz_Cyrl_uz_Latn.txt |
-# Generated from CLDR |
+# Generated from CLDR |
# |
+ |
+# Rules are predicated on running NFD first, and NFC afterwards |
:: NFD (NFC) ; |
$letters = [[:sc=Latn:][:sc=Cyrl:] & [:L:]] ; |
$latinVowel = [AEIOUaeiouĬĭʼËë{oʻ}{Oʻ}] ; |
@@ -15,24 +14,30 @@ $lower = [$letters & [:Ll:]] ; |
У \u0306 ↔ Oʻ ; |
ғ ↔ gʻ ; |
Ғ ↔ Gʻ ; |
+# For many cases, use a following character to determine the difference between XY and Xy |
ш ↔ sh ; |
{ Ш } $lower ↔ Sh ; |
Ш ↔ SH ; |
ч ↔ ch ; |
{ Ч } $lower ↔ Ch ; |
Ч ↔ CH ; |
+# нг ↔ ng ; as separate letters works |
+# Нг ↔ Ng ; as separate letters works |
+# If we have a lowercase letter on either side, use the lowercase hard sign |
ъ ↔ { ʼ } $lower ; |
ъ ← $lower { ʼ } ; |
Ъ ↔ ʼ ; |
е\u0308 ↔ yo ; |
Е\u0308 } $lower ↔ Yo ; |
Е\u0308 ↔ YO ; |
+# е → 'ye' at the beginning of a syllable, after a vowel, ъ or ь, otherwise 'e' |
[:^L:] { е ↔ ye ; |
[:^L:] { Е } $lower ↔ Ye ; |
[:^L:] {Е ↔ YE ; |
$latinVowel { е → ye ; |
$latinVowel { Е } $lower → Ye ; |
$latinVowel { Е → YE ; |
+# handle these specially, since ьЬ otherwise disappear. |
ье → ye ; |
{ ьЕ } $lower → Ye ; |
ьЕ → YE ; |
@@ -101,3 +106,4 @@ $latinVowel { Е → YE ; |
ь → ; |
Ь → ; |
::NFC (NFD) ; |
+ |