Skip to content

Instantly share code, notes, and snippets.

@harini-ua
Last active September 21, 2020 10:37
Show Gist options
  • Save harini-ua/a2b10f947d978fa8ba454bc68a7865dc to your computer and use it in GitHub Desktop.
Save harini-ua/a2b10f947d978fa8ba454bc68a7865dc to your computer and use it in GitHub Desktop.
<?php
return [
'alphabet' => [
// https://www.kmu.gov.ua/npas/243262567
'gov' => [
'а' => 'a',
'б' => 'b',
'в' => 'v',
'г' => 'h',
'ґ' => 'g',
'д' => 'd',
'е' => 'e',
'є' => [
'position' => [
'start' => 'Ye',
'any' => 'ie'
]
],
'ж' => 'zh',
'з' => [
'value' => 'z',
'next' => [
'г' => 'zgh'
],
],
'и' => 'y',
'і' => 'i',
'ї' => [
'position' => [
'start' => 'Yi',
'any' => 'i'
]
],
'й' => [
'position' => [
'start' => 'Y',
'any' => 'i'
]
],
'к' => 'k',
'л' => 'l',
'м' => 'm',
'н' => 'n',
'о' => 'o',
'п' => 'p',
'р' => 'r',
'с' => 's',
'т' => 't',
'у' => 'u',
'ф' => 'f',
'х' => 'kh',
'ц' => 'ts',
'ч' => 'ch',
'ш' => 'sh',
'щ' => 'shch',
'ю' => [
'position' => [
'start' => 'Yu',
'any' => 'iu'
]
],
'я' => [
'position' => [
'start' => 'Ya',
'any' => 'ia'
]
],
'ь' => '',
'′' => '',
],
// https://bit.ly/2HgJ6fP
'lozinsky' => [
'а' => 'a',
'б' => 'b',
'ц' => 'c',
'ць' => 'ć',
'х' => 'ch',
'ч' => 'cz',
'д' => 'd',
'дь' => 'd′',
'е' => 'e',
'ф' => 'f',
'ґ' => 'g',
'г' => 'h',
'і' => 'i',
'й' => 'j',
'к' => 'k',
'ль' => 'l',
'л' => 'ł',
'м' => 'm',
'н' => 'n',
'нь' => 'ń',
'о' => 'o',
'п' => 'p',
'р' => 'r',
'рь' => 'r’',
'с' => 's',
'сь' => 'ś',
'ш' => 'sz',
'щ' => 'szcz',
'т' => 't',
'ть' => 't′',
'у' => 'u',
'в' => 'w',
'и' => 'y',
'з' => 'z',
'зь' => 'ź',
'ж' => 'ż',
],
'irechek' => [
'а' => 'a',
'б' => 'b',
'ц' => 'c',
'ць' => 'ć',
'ч' => 'č',
'х' => 'ch',
'д' => 'd',
'дь' => 'd′',
'е' => 'e',
'є' => 'ě',
'ф' => 'f',
'ґ' => 'g',
'г' => 'h',
'і' => 'i',
'й' => 'j',
'к' => 'k',
'л' => 'l',
'ль' => 'l′',
'л' => 'ł',
'м' => 'm',
'н' => 'n',
'нь' => 'ń',
'о' => 'o',
'п' => 'p',
'р' => 'r',
'рь' => 'ŕ',
'с' => 's',
'сь' => 'ś',
'ш' => 'š',
'щ' => 'šč',
'т' => 't',
'ть' => 't′',
'у' => 'u',
'і' => 'ü',
'в' => 'v',
'в' => 'w',
'кс' => 'x',
'и' => 'y',
'з' => 'z',
'зь' => 'ź',
'ж' => 'ž',
],
'gaevitsa' => [
]
]
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment