|
our $VERSION = version->declare( 'v0.34.4' );
use if $^V ge v5.12.0, feature => 'unicode_strings' ;
BEGIN {
die "Transliteration requires Perl 5.18 or above"
unless $^V ge v5.18.0;
}
no warnings 'experimental::regex_sets' ;
has 'transforms' => (
is => 'ro' ,
isa => ArrayRef,
init_arg => undef ,
default => sub { [
qr/(?^um:\G.)/ ,
{
type => 'transform' ,
data => [
{
from => q(Any) ,
to => q(NFD) ,
},
],
},
{
type => 'conversion' ,
data => [
{
before => q() ,
after => q() ,
replace => q(А) ,
result => q(A) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(а) ,
result => q(a) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Б) ,
result => q(B) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(б) ,
result => q(b) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(В) ,
result => q(W) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(в) ,
result => q(w) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Г) ,
result => q(G) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(г) ,
result => q(g) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Д) ,
result => q(D) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(д) ,
result => q(d) ,
revisit => 0,
},
{
before => q() ,
after => q((?:(?:(?![Ә]) [АЕЁИОӨУҮЫЭӘЮЯ])|[ЙЪЬ])),
replace => q(Е) ,
result => q(YE) ,
revisit => 0,
},
{
before => q() ,
after => q((?:(?:(?![ә]) [аеёиоөуүыэәюя])|[йъь])),
replace => q(Е) ,
result => q(Ye) ,
revisit => 0,
},
{
before => q([^ \p{L} \p{M} \p{N}]) ,
after => q() ,
replace => q(Е) ,
result => q(Ye) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Е) ,
result => q(E) ,
revisit => 0,
},
{
before => q() ,
after => q((?:(?:(?![Ә]) [АЕЁИОӨУҮЫЭӘЮЯ])|(?:(?![ә])[аеёиоөуүыэәюя])|[ЙйЪъЬь])),
replace => q(е) ,
result => q(ye) ,
revisit => 0,
},
{
before => q([^ \p{L} \p{M} \p{N}]) ,
after => q() ,
replace => q(е) ,
result => q(ye) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(е) ,
result => q(e) ,
revisit => 0,
},
{
before => q() ,
after => q((?:[бвгджҗзйклмнңпрстфхцчшщъь]|[аеёиоөуүыэәюя]) ),
replace => q(Ё) ,
result => q(Yo) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Ё) ,
result => q(YO) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ё) ,
result => q(yo) ,
revisit => 0,
},
{
before => q() ,
after => q((?:[бвгджҗзйклмнңпрстфхцчшщъь]|[аеёиоөуүыэәюя]) ),
replace => q(Ж) ,
result => q(Zh) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Ж) ,
result => q(ZH) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ж) ,
result => q(zh) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ЗХ) ,
result => q(Z·H) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Зх) ,
result => q(Z·h) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(зх) ,
result => q(z·h) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(З) ,
result => q(Z) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(з) ,
result => q(z) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(И) ,
result => q(И) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(и) ,
result => q(и) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Й) ,
result => q(Y) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(й) ,
result => q(y) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(К) ,
result => q(K) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(к) ,
result => q(k) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Л) ,
result => q(L) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(л) ,
result => q(l) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(М) ,
result => q(M) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(м) ,
result => q(m) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(НГ) ,
result => q(N·G) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Нг) ,
result => q(N·g) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(нг) ,
result => q(n·g) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Н) ,
result => q(N) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(н) ,
result => q(n) ,
revisit => 0,
},
{
before => q() ,
after => q((?:[бвгджҗзйклмнңпрстфхцчшщъь]|[аеёиоөуүыэәюя]) ),
replace => q(Ң) ,
result => q(Ng) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Ң) ,
result => q(NG) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ң) ,
result => q(ng) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(О) ,
result => q(O) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(о) ,
result => q(o) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Ө) ,
result => q(Ö) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ө) ,
result => q(ö) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(П) ,
result => q(P) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(п) ,
result => q(p) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Р) ,
result => q(R) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(р) ,
result => q(r) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(СХ) ,
result => q(S·H) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Сх) ,
result => q(S·h) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(сх) ,
result => q(s·h) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(С) ,
result => q(S) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(с) ,
result => q(s) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Т) ,
result => q(T) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(т) ,
result => q(t) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(У) ,
result => q(U) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(у) ,
result => q(u) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Ү) ,
result => q(Ü) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ү) ,
result => q(ü) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Ф) ,
result => q(F) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ф) ,
result => q(f) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Х) ,
result => q(H) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(х) ,
result => q(h) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ЦХ) ,
result => q(TS·H) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Цх) ,
result => q(Ts·h) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(цх) ,
result => q(ts·h) ,
revisit => 0,
},
{
before => q() ,
after => q((?:[бвгджҗзйклмнңпрстфхцчшщъь]|[аеёиоөуүыэәюя]) ),
replace => q(Ц) ,
result => q(Ts) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Ц) ,
result => q(TS) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ц) ,
result => q(ts) ,
revisit => 0,
},
{
before => q() ,
after => q((?:[бвгджҗзйклмнңпрстфхцчшщъь]|[аеёиоөуүыэәюя]) ),
replace => q(Ч) ,
result => q(Ch) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Ч) ,
result => q(CH) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ч) ,
result => q(ch) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ШЧ) ,
result => q(SH·CH) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Шч) ,
result => q(Sh·ch) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(шч) ,
result => q(sh·ch) ,
revisit => 0,
},
{
before => q() ,
after => q((?:[бвгджҗзйклмнңпрстфхцчшщъь]|[аеёиоөуүыэәюя]) ),
replace => q(Ш) ,
result => q(Sh) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Ш) ,
result => q(SH) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ш) ,
result => q(sh) ,
revisit => 0,
},
{
before => q() ,
after => q((?:[бвгджҗзйклмнңпрстфхцчшщъь]|[аеёиоөуүыэәюя]) ),
replace => q(Щ) ,
result => q(Shch) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Щ) ,
result => q(SHCH) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(щ) ,
result => q(shch) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Ъ) ,
result => q(ʺ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ъ) ,
result => q(ʺ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Ы) ,
result => q(Y) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ы) ,
result => q(y) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Ь) ,
result => q(ʹ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ь) ,
result => q(ʹ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Э) ,
result => q(E) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(э) ,
result => q(e) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Ә) ,
result => q(Ä) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ә) ,
result => q(ä) ,
revisit => 0,
},
{
before => q() ,
after => q((?:[бвгджҗзйклмнңпрстфхцчшщъь]|[аеёиоөуүыэәюя]) ),
replace => q(Ю) ,
result => q(Yu) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Ю) ,
result => q(YU) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ю) ,
result => q(yu) ,
revisit => 0,
},
{
before => q() ,
after => q((?:[бвгджҗзйклмнңпрстфхцчшщъь]|[аеёиоөуүыэәюя]) ),
replace => q(Я) ,
result => q(Ya) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(Я) ,
result => q(YA) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(я) ,
result => q(ya) ,
revisit => 0,
},
]
},
] },
);
no Moo;
1;
|