|
our $VERSION = version->declare( 'v0.46.0' );
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(Lower) ,
},
{
from => q(Any) ,
to => q(NFC) ,
},
],
},
{
type => 'conversion' ,
data => [
{
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(b) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(в) ,
result => q(v) ,
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(d͡ʒ) ,
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(je) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(е) ,
result => q(e) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ё) ,
result => q(jo) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ж) ,
result => q(d͡ʒ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(з) ,
result => q(z) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ии) ,
result => q(iː) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(и) ,
result => q(i) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(й) ,
result => q(j) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(кк) ,
result => q(kː) ,
revisit => 0,
},
{
before => q([$]) ,
after => q([еёиɵүю]) ,
replace => q(к) ,
result => q(ɡ) ,
revisit => 0,
},
{
before => q() ,
after => q([аоуы]) ,
replace => q(к) ,
result => q(q) ,
revisit => 0,
},
{
before => q([ɑouɯ]ː?) ,
after => q() ,
replace => q(к) ,
result => q(q) ,
revisit => 0,
},
{
before => q([y][bdfɡklmnŋpqrʁsʃtvzʒχ]+ː?) ,
after => q([$]) ,
replace => q(к) ,
result => q(k) ,
revisit => 0,
},
{
before => q([bdfɡklmnŋpqrʁsʃtvzʒχ]) ,
after => q([$]) ,
replace => q(к) ,
result => q(q) ,
revisit => 0,
},
{
before => q([ŋ]) ,
after => q() ,
replace => q(к) ,
result => q(q) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(к) ,
result => q(k) ,
revisit => 0,
},
{
before => q([eøy]ː?) ,
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(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ː) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(н) ,
result => q(n) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ң) ,
result => q(ŋ) ,
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(r) ,
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(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(yː) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ү) ,
result => q(y) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ф) ,
result => q(f) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(х) ,
result => q(χ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ц) ,
result => q(t͡s) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ч) ,
result => q(t͡ʃ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ш) ,
result => q(ʃ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(щ) ,
result => q(ʃt͡ʃ) ,
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() ,
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(ju) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(я) ,
result => q(jɑ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(\-) ,
result => q(\') ,
revisit => 0,
},
]
},
] },
);
no Moo;
1;
|