<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE supplementalData SYSTEM "../../common/dtd/ldmlSupplemental.dtd">
<!-- Copyright © 1991-2015 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: 12347 $" />
	<transforms>
		<transform source="ky" target="ky_FONIPA" direction="forward" draft="contributed" alias="ky-fonipa-t-ky">
			<tRule>
# Transformation from Kyrgyz (ky) to its IPA transcription (ky_FONIPA).
# http://en.wikipedia.org/wiki/Kyrgyz_alphabet#Correspondence_chart

::Lower;
::NFC;

$consonant_sound = [bdfɡklmnŋpqrʁsʃtvzʒχ];

аа → ɑː;
а  → ɑ;
б  → b;
в  → v;
{г} [аоуы]  → ʁ;
г  → ɡ;
дж → d͡ʒ;  # eg. Джамадан
дд → dː;
д  → d;
[$] {е} → je;  # at the beginning of a word
е  → e;
ё  → jo;  # appears only in loanwords
ж  → d͡ʒ;
з  → z;
ии → iː;
и  → i;
й  → j;
кк → kː;
[$] {к} [еёиɵүю] → ɡ;    # eg. кирет, кишиден, келди
{к} [аоуы] → q;          # eg. чокусу, факультетин, нукура
[ɑouɯ] ː? {к} → q;       # eg. Исак, Бирок, Кутлук, Ферганалык
[y] $consonant_sound+ ː? {к} [$] → k; # eg. мүлк, түрк
$consonant_sound {к} [$] → q; # eg. даңк, калк, кырк
[ŋ] {к} → q;
к → k;

# TODO(sascha): Verify whether /lʲ/ is really phonemic in Kyrgyz;
# is there really a minimal pair with /l/ versus /lʲ/?
[eøy] ː? {л}к → lʲ;  # eg. мүлк, күлкү, өлкө, эзелки

лл → lː;
л  → l;
мм → mː;
м  → m;
нн → nː;
н  → n;
ң  → ŋ;
оо → oː;
о  → o;
өө → øː;
ө  → ø;
п  → p;
р  → r;
сс → sː;
с  → s;
тт → tː;
тч → t͡ʃ;    # eg. екетчилерден
т  → t;
уу → uː;
у  → u;
үү → yː;
ү  → y;
ф  → f;     # only in loanwords
х  → χ;
ц  → t͡s;    # only in loanwords
ч  → t͡ʃ;
ш  → ʃ;
щ  → ʃ t͡ʃ;  # only in loanwords
ъ  → ;      # no phonemic value; appears only in loanwords
ы  → ɯ;
ь  → ;      # no phonemic value; appears only in loanwords
ээ → eː;
э  → e;
ю  → ju;
я  → jɑ;
\-  → ' ';
			</tRule>
		</transform>
	</transforms>
</supplementalData>
