<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE translit SYSTEM "translit.dtd">
<!--
Transliteration definitions for GOST 7.79:2000 (Table B) (Ukrainian).
Rona Linke <rlinke@lingua-systems.com>
Copyright (C) 2010 Lingua-Systems Software GmbH
-->
<translit>
<!-- meta information -->
<name>GOST 7.79 UKR</name>
<desc>GOST 7.79:2000, Cyrillic to Latin, Ukrainian</desc>
<reverse>true</reverse>
<!-- set of transliteration rules -->
<!--
Used abbreviations (according to Unicode Standard 5.0):
CCL = CYRILLIC CAPITAL LETTER
CSL = CYRILLIC SMALL LETTER
LCL = LATIN CAPITAL LETTER
LSL = LATIN SMALL LETTER
-->
<rules>
<!-- context dependent rules -->
<!--'tse' is 'c' before 'i,e,y,j'-->
<rule>
<from>ц</from> <!-- CSL TSE -->
<to>c</to> <!-- LSL C -->
<context>
<before>[iejyиейюяєії]</before>
</context>
</rule>
<rule>
<from>Ц</from> <!-- CCL TSE -->
<to>C</to> <!-- LCL C -->
<context>
<before>[IEJYИЕЙЮЯЄІЇ]</before>
</context>
</rule>
<!--otherwise 'cz'-->
<rule>
<from>ц</from> <!-- CSL TSE -->
<to>cz</to> <!-- LSL C LSL Z -->
</rule>
<rule> <!-- ALLCAPS -->
<from>Ц</from> <!-- CCL TSE -->
<to>CZ</to> <!-- LCL C LCL Z-->
<context>
<before>[\p{IsUpper}\p{IsSpace}]</before>
<after>[\p{IsUpper}\p{IsSpace}]</after>
</context>
</rule>
<rule>
<from>Ц</from> <!-- CCL TSE -->
<to>Cz</to> <!-- LCL C LSL Z-->
</rule>
<!-- transliterations resulting in multiple characters -->
<rule>
<from>щ</from> <!-- CSL SHCHA -->
<to>shh</to> <!-- LSL S LSL H LSL H -->
</rule>
<rule> <!-- ALLCAPS -->
<from>Щ</from> <!-- CCL SHCHA -->
<to>SHH</to> <!-- LCL S LCL H LCL H -->
<context>
<before>[\p{IsUpper}\p{IsSpace}]</before>
<after>[\p{IsUpper}\p{IsSpace}]</after>
</context>
</rule>
<rule>
<from>Щ</from> <!-- CCL SHCHA -->
<to>Shh</to> <!-- LCL S LSL H LSL H -->
</rule>
<rule>
<from>ґ</from> <!-- CSL GHE WITH UPTURN -->
<to>g`</to> <!-- LSL G GRAVE ACCENT -->
</rule>
<rule>
<from>Ґ</from> <!-- CCL GHE WITH UPTURN -->
<to>G`</to> <!-- LCL G GRAVE ACCENT -->
</rule>
<rule>
<from>є</from> <!-- CSL UKRAINIAN IE -->
<to>ye</to> <!-- LSL Y LSL E -->
</rule>
<rule> <!-- ALLCAPS -->
<from>Є</from> <!-- CCL UKRAINIAN IE -->
<to>YE</to> <!-- LCL Y LCL E -->
<context>
<before>[\p{IsUpper}\p{IsSpace}]</before>
<after>[\p{IsUpper}\p{IsSpace}]</after>
</context>
</rule>
<rule>
<from>Є</from> <!-- CCL UKRAINIAN IE -->
<to>Ye</to> <!-- LCL Y LSL E -->
</rule>
<rule>
<from>ж</from> <!-- CSL ZHE -->
<to>zh</to> <!-- LSL Z LSL H -->
</rule>
<rule>
<from>Ж</from> <!-- CCL ZHE -->
<to>ZH</to> <!-- LCL Z LCL H -->
<context>
<before>[\p{IsUpper}\p{IsSpace}]</before>
<after>[\p{IsUpper}\p{IsSpace}]</after>
</context>
</rule>
<rule>
<from>Ж</from> <!-- CCL ZHE -->
<to>Zh</to> <!-- LCL Z LSL H -->
</rule>
<rule>
<from>и</from> <!-- CSL I-->
<to>y`</to> <!-- LSL Y GRAVE ACCENT -->
</rule>
<rule>
<from>И</from> <!-- CCL I -->
<to>Y`</to> <!-- LCL Y GRAVE ACCENT -->
</rule>
<rule>
<from>ї</from> <!-- CSL YI-->
<to>yi</to> <!-- LSL Y LSL I -->
</rule>
<rule> <!-- ALLCAPS -->
<from>Ї</from> <!-- CCL YI -->
<to>YI</to> <!-- LCL Y LCSL I -->
<context>
<before>[\p{IsUpper}\p{IsSpace}]</before>
<after>[\p{IsUpper}\p{IsSpace}]</after>
</context>
</rule>
<rule>
<from>Ї</from> <!-- CCL YI -->
<to>Yi</to> <!-- LCL Y LSL I -->
</rule>
<rule>
<from>ч</from> <!-- CSL CHE -->
<to>ch</to> <!-- LSL C LSL H -->
</rule>
<rule> <!-- ALLCAPS-->
<from>Ч</from> <!-- CCL CHE -->
<to>CH</to> <!-- LCL C LCL H -->
<context>
<before>[\p{IsUpper}\p{IsSpace}]</before>
<after>[\p{IsUpper}\p{IsSpace}]</after>
</context>
</rule>
<rule>
<from>Ч</from> <!-- CCL CHE -->
<to>Ch</to> <!-- LCL C LSL H -->
</rule>
<rule>
<from>ш</from> <!-- CSL SHA -->
<to>sh</to> <!-- LSL S LSL H -->
</rule>
<rule> <!-- ALLCAPS-->
<from>Ш</from> <!-- CCL SHA -->
<to>SH</to> <!-- LCL S LCL H -->
<context>
<before>[\p{IsUpper}\p{IsSpace}]</before>
<after>[\p{IsUpper}\p{IsSpace}]</after>
</context>
</rule>
<rule>
<from>Ш</from> <!-- CCL SHA -->
<to>Sh</to> <!-- LCL S LSL H -->
</rule>
<rule>
<from>ю</from> <!-- CSL YU -->
<to>yu</to> <!-- LSL Y & LSL U -->
</rule>
<rule> <!-- ALLCAPS -->
<from>Ю</from> <!-- CCL YU -->
<to>YU</to> <!-- LCL Y & LCL U -->
<context>
<before>[\p{IsUpper}\p{IsSpace}]</before>
<after>[\p{IsUpper}\p{IsSpace}]</after>
</context>
</rule>
<rule>
<from>Ю</from> <!-- CCL YU -->
<to>Yu</to> <!-- LCL Y & LSL U -->
</rule>
<rule>
<from>я</from> <!-- CSL YA -->
<to>ya</to> <!-- LSL Y & LSL A -->
</rule>
<rule> <!-- ALLCAPS -->
<from>Я</from> <!-- CCL YA -->
<to>YA</to> <!-- LCL Y & LCL A -->
<context>
<before>[\p{IsUpper}\p{IsSpace}]</before>
<after>[\p{IsUpper}\p{IsSpace}]</after>
</context>
</rule>
<rule>
<from>Я</from> <!-- CCL YA -->
<to>Ya</to> <!-- LCL Y & LSL A -->
</rule>
<!-- context indepenent rules -->
<rule>
<from>а</from> <!-- CSL A -->
<to>a</to> <!-- LSL A -->
</rule>
<rule>
<from>А</from> <!-- CCL A -->
<to>A</to> <!-- LCL A -->
</rule>
<rule>
<from>б</from> <!--CSL BE -->
<to>b</to> <!--LSL B -->
</rule>
<rule>
<from>Б</from> <!-- CCL BE -->
<to>B</to> <!-- LCL B -->
</rule>
<rule>
<from>в</from> <!--CSL VE -->
<to>v</to> <!--LSL V -->
</rule>
<rule>
<from>В</from> <!--CCL VE -->
<to>V</to> <!--LCL V -->
</rule>
<rule>
<from>г</from> <!--CSL GHE -->
<to>g</to> <!--LSL G -->
</rule>
<rule>
<from>Г</from> <!--CCL GHE -->
<to>G</to> <!--LCL G -->
</rule>
<rule>
<from>д</from> <!-- CSL DE -->
<to>d</to> <!-- LSL D -->
</rule>
<rule>
<from>Д</from> <!-- CCL DE -->
<to>D</to> <!-- LCL D -->
</rule>
<rule>
<from>е</from> <!-- CSL IE -->
<to>e</to> <!-- LSL E -->
</rule>
<rule>
<from>Е</from> <!-- CCL IE -->
<to>E</to> <!-- LCL E -->
</rule>
<rule>
<from>з</from> <!-- CSL ZE -->
<to>z</to> <!-- LSL Z -->
</rule>
<rule>
<from>З</from> <!-- CCL ZE -->
<to>Z</to> <!-- LCL Z -->
</rule>
<rule>
<from>й</from> <!-- CSL SHORT I -->
<to>j</to> <!-- LSL J -->
</rule>
<rule>
<from>Й</from> <!-- CCL SHORT I -->
<to>J</to> <!-- LCL J -->
</rule>
<rule>
<from>і</from> <!-- CSL BELORUSSIAN-UKRAINIAN I-->
<to>i</to> <!-- LSL I -->
</rule>
<rule>
<from>І</from> <!-- CCL BELORUSSIAN-UKRAINIAN I -->
<to>I</to> <!-- LCL I -->
</rule>
<rule>
<from>к</from> <!-- CSL KA -->
<to>k</to> <!-- LSL K -->
</rule>
<rule>
<from>К</from> <!-- CCL KA -->
<to>K</to> <!-- LCL K -->
</rule>
<rule>
<from>л</from> <!-- CSL EL -->
<to>l</to> <!-- LSL L -->
</rule>
<rule>
<from>Л</from> <!-- CCL EL -->
<to>L</to> <!-- LCL L -->
</rule>
<rule>
<from>м</from> <!-- CSL EM -->
<to>m</to> <!-- LSL M -->
</rule>
<rule>
<from>М</from> <!-- CCL EM -->
<to>M</to> <!-- LCL M -->
</rule>
<rule>
<from>н</from> <!-- CSL EN -->
<to>n</to> <!-- LSL N -->
</rule>
<rule>
<from>Н</from> <!-- CCL EN -->
<to>N</to> <!-- LCL N -->
</rule>
<rule>
<from>о</from> <!-- CSL O -->
<to>o</to> <!-- LSL O -->
</rule>
<rule>
<from>О</from> <!-- CCL O -->
<to>O</to> <!-- LCL O -->
</rule>
<rule>
<from>п</from> <!-- CSL PE -->
<to>p</to> <!-- LSL P -->
</rule>
<rule>
<from>П</from> <!-- CCL PE -->
<to>P</to> <!-- LCL P -->
</rule>
<rule>
<from>р</from> <!-- CSL ER -->
<to>r</to> <!-- LCL R -->
</rule>
<rule>
<from>Р</from> <!-- CCL ER -->
<to>R</to> <!-- LCL R -->
</rule>
<rule>
<from>с</from> <!-- CSL ES -->
<to>s</to> <!-- LSL S -->
</rule>
<rule>
<from>С</from> <!-- CCL ES -->
<to>S</to> <!-- LCL S -->
</rule>
<rule>
<from>т</from> <!-- CSL TE -->
<to>t</to> <!-- LSL T -->
</rule>
<rule>
<from>Т</from> <!-- CCL TE -->
<to>T</to> <!-- LCL T -->
</rule>
<rule>
<from>у</from> <!-- CSL U -->
<to>u</to> <!-- LSL U -->
</rule>
<rule>
<from>У</from> <!-- CCL U -->
<to>U</to> <!-- LCL U -->
</rule>
<rule>
<from>ф</from> <!-- CSL EF -->
<to>f</to> <!-- LSL F -->
</rule>
<rule>
<from>Ф</from> <!-- CCL EF -->
<to>F</to> <!-- LCL F -->
</rule>
<rule>
<from>х</from> <!-- CSL HA -->
<to>x</to> <!-- LSL X -->
</rule>
<rule>
<from>Х</from> <!-- CCL HA -->
<to>X</to> <!-- LCL X -->
</rule>
<rule>
<from>Ь</from> <!-- CCL SOFT SIGN -->
<to>`</to> <!-- GRAVE ACCENT -->
<context> <!-- to ensure reversibility -->
<after>\p{IsUpper}</after>
</context>
</rule>
<rule>
<from>ь</from> <!-- CSL SOFT SIGN -->
<to>`</to> <!-- GRAVE ACCENT -->
</rule>
<rule>
<from>№</from> <!-- NUMERO SIGN -->
<to>#</to> <!-- # -->
</rule>
</rules>
</translit>
<!--
vim: sts=4 sw=4 ai et
-->