|
our $VERSION = version->declare( 'v0.44.1' );
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(\') ,
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(\') ,
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(\') ,
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(\') ,
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(\') ,
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(\') ,
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(\') ,
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(\') ,
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(\') ,
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(\') ,
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(\') ,
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(\') ,
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(\') ,
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(\') ,
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(\') ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ⁿ) ,
result => q(\') ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ç) ,
result => q(C) ,
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(2) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ŋ) ,
result => q(N) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(œ) ,
result => q(9) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɐ) ,
result => q(6) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɑ) ,
result => q(A) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɒ) ,
result => q(Q) ,
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(E) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɜ) ,
result => q(3) ,
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(7) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɥ) ,
result => q(H) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɨ) ,
result => q(1) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɪ) ,
result => q(I) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɫ) ,
result => q(5) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɬ) ,
result => q(K) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɯ) ,
result => q(M) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɱ) ,
result => q(F) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɲ) ,
result => q(J) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɵ) ,
result => q(8) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɶ) ,
result => q(\') ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɾ) ,
result => q(4) ,
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(\') ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʊ) ,
result => q(U) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʋ) ,
result => q(P) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʌ) ,
result => q(V) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʍ) ,
result => q(W) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʎ) ,
result => q(L) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʏ) ,
result => q(Y) ,
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(\') ,
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(\') ,
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(B) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(θ) ,
result => q(T) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(χ) ,
result => q(X) ,
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(g) ,
result => q(g) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ȵ) ,
result => q(J) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɩ) ,
result => q(I) ,
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(\') ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʆ) ,
result => q(S\') ,
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(d\'z) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʤ) ,
result => q(d\'Z) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʦ) ,
result => q(t\'s) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʧ) ,
result => q(t\'S) ,
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(\') ,
revisit => 0,
},
],
},
{
type => 'transform' ,
data => [
{
from => q(Any) ,
to => q(NFC) ,
},
]
},
] },
);
no Moo;
1;
|