1# © 2016 and later: Unicode, Inc. and others. 2# License & terms of use: http://www.unicode.org/copyright.html#License 3# 4# File: zh_Latn_PINYIN_ru.txt 5# Generated from CLDR 6# 7 8# Cyrillization of Mandarin Chinese from Pinyin into Russian (Palladius system). 9# 10# References: 11# http://ru.wikipedia.org/wiki/Транскрипционная_система_Палладия 12# http://www.omniglot.com/writing/mandarin_pts.htm 13# http://www.pinyin.info/romanization/russian/index.html 14# These differ in the treatment of some syllables (e.g. <jue>) from the rules 15# below. 16# 17# Further commentary: 18# http://languagelog.ldc.upenn.edu/nll/?p=604 19# 20# Remove tone marks. 21:: NFD (NFC); 22[\u0304\u0301\u030C\u0300\u0306] → ; 23:: NFC (NFD); 24# 25# 26# Syllabify. Add apostrophes to disambiguate whether <n> and <g> belong to the 27# coda or onset of a syllable. 28:: Null (); 29ng } [aeou] → n\'g; 30ng → ng\'; 31n } [aeiouü] → \'n; 32n → n\'; 33# 34# 35# Main pass. 36:: Null (); 37# 38# 39Ai → Ай; 40A → А; 41B → Б; 42Ch → Ч; 43Ci → Цы; 44C → Ц; 45D → Д; 46E → Э; 47F → Ф; 48G → Г; 49H → Х; 50Ju → Цз | ü; 51J → Цз; 52K → К; 53L → Л; 54M → М; 55N → Н; 56O → О; 57P → П; 58Qu → Ц | ü; 59Q → Ц; 60R → Ж; 61Sh → Ш; 62Si → Сы; 63S → С; 64T → Т; 65Wu → У; 66W → В; 67Xu → С | ü; 68X → С; 69Yai → Яй; 70Ya → Я; 71Ye → Е; 72Yi → И; 73You → Ю; 74Yo } ng → Ю; 75Yo → Ё; 76Yu → Ю | v; 77Zh → Чж; 78Zi → Цзы; 79Z → Цз; 80# 81# 82[$] { n → н; 83\'n → н; 84\' → ; 85# 86# 87ai → ай; 88a → а; 89b → б; 90ch → ч; 91ci → цы; 92c → ц; 93d → д; 94ei → эй; 95e → э; 96f → ф; 97g → г; 98h → х; 99ia → я; 100ie → е; 101io } ng → ю; 102iu → ю; 103i → и; 104ju → цз | ü; 105j → цз; 106k → к; 107l → л; 108m → м; 109ng → н; 110n → нь; 111o } ng → у; 112o → о; 113p → п; 114qu → ц | ü; 115q → ц; 116r } [^aeiou] → р; 117r → ж; 118sh → ш; 119si → сы; 120s → с; 121t → т; 122[Хх] { ui → уэй; # special exception 123ui → уй; 124uo → о; 125u → у; 126ü → ю | v; 127# 128# We use the dummy symbol <v> to signal that an <ü> or equivalent character has 129# just been processed. 130ve → э; 131# 132#alternative: ve → е; 133v } [an] → ; 134v → й; 135wu → у; 136w → в; 137xu → с | ü; 138x → с; 139yai → яй; 140ya → я; 141ye → е; 142yi → и; 143you → ю; 144yo } ng → ю; 145yo → ё; 146yu → ю | v; 147zh → чж; 148zi → цзы; 149z → цз; 150# 151# 152# Final pass: Make sure that the output consists entirely of Cyrillic letters. 153:: NFC (); 154 155