|
our $VERSION = version->declare( 'v0.40.0' );
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 => [
],
},
{
type => 'conversion' ,
data => [
{
before => q() ,
after => q() ,
replace => q(β) ,
result => q(b) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ð) ,
result => q(d) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɣ) ,
result => q(g) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʎ) ,
result => q(ʝ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ŋ) ,
result => q(n) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(θ) ,
result => q(s) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɾ) ,
result => q(r) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(i̯) ,
result => q(i) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(u̯) ,
result => q(u) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(j) ,
result => q(i) ,
revisit => 0,
},
{
before => q([^gk]) ,
after => q() ,
replace => q(w) ,
result => q(u) ,
revisit => 0,
},
],
},
{
type => 'transform' ,
data => [
{
from => q(Any) ,
to => q(Null) ,
},
],
},
{
type => 'conversion' ,
data => [
{
before => q() ,
after => q() ,
replace => q(\') ,
result => q() ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(bb) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(dd) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(ff) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(gg) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(ʝʝ) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(kk) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(ll) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(mm) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(nn) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(ɲɲ) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(pp) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(rr) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(ss) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(ʃʃ) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(tt) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(ʧʧ) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(xx) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(ʒʒ) ,
result => q() ,
revisit => 1,
},
{
before => q() ,
after => q() ,
replace => q(a) ,
result => q(አ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ba) ,
result => q(ባ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(be) ,
result => q(ቤ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(bi) ,
result => q(ቢ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(bo) ,
result => q(ቦ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(bu) ,
result => q(ቡ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(b) ,
result => q(ብ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(da) ,
result => q(ዳ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(de) ,
result => q(ዴ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(di) ,
result => q(ዲ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(do) ,
result => q(ዶ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(du) ,
result => q(ዱ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(d) ,
result => q(ድ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(e) ,
result => q(ኤ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(fa) ,
result => q(ፋ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(fe) ,
result => q(ፌ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(fi) ,
result => q(ፊ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(fo) ,
result => q(ፎ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(fu) ,
result => q(ፉ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(f) ,
result => q(ፍ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ga) ,
result => q(ጋ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ge) ,
result => q(ጌ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(gi) ,
result => q(ጊ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(go) ,
result => q(ጎ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(gu) ,
result => q(ጉ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(gwa) ,
result => q(ጓ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(gwe) ,
result => q(ጔ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(gwi) ,
result => q(ጒ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(gwo) ,
result => q(ጉዎ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(g) ,
result => q(ግ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(i) ,
result => q(ኢ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʝa) ,
result => q(ያ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʝe) ,
result => q(ዬ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʝi) ,
result => q(ዪ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʝo) ,
result => q(ዮ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʝu) ,
result => q(ዩ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʝ) ,
result => q(ይ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ka) ,
result => q(ካ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ke) ,
result => q(ኬ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ki) ,
result => q(ኪ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ko) ,
result => q(ኮ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ku) ,
result => q(ኩ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(kwa) ,
result => q(ኳ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(kwe) ,
result => q(ኴ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(kwi) ,
result => q(ኲ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(kwo) ,
result => q(ኩዎ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(k) ,
result => q(ክ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(la) ,
result => q(ላ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(le) ,
result => q(ሌ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(li) ,
result => q(ሊ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(lo) ,
result => q(ሎ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(lu) ,
result => q(ሉ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(l) ,
result => q(ል) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ma) ,
result => q(ማ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(me) ,
result => q(ሜ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(mi) ,
result => q(ሚ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(mo) ,
result => q(ሞ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(mu) ,
result => q(ሙ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(m) ,
result => q(ም) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(na) ,
result => q(ና) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ne) ,
result => q(ኔ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ni) ,
result => q(ኒ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(no) ,
result => q(ኖ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(nu) ,
result => q(ኑ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(n) ,
result => q(ን) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɲa) ,
result => q(ኛ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɲe) ,
result => q(ኜ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɲi) ,
result => q(ኚ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɲo) ,
result => q(ኞ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɲu) ,
result => q(ኙ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ɲ) ,
result => q(ኝ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(o) ,
result => q(ኦ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(pa) ,
result => q(ፓ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(pe) ,
result => q(ፔ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(pi) ,
result => q(ፒ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(po) ,
result => q(ፖ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(pu) ,
result => q(ፑ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(p) ,
result => q(ፕ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ra) ,
result => q(ራ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(re) ,
result => q(ሬ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ri) ,
result => q(ሪ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ro) ,
result => q(ሮ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ru) ,
result => q(ሩ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(r) ,
result => q(ር) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(sa) ,
result => q(ሳ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(se) ,
result => q(ሴ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(si) ,
result => q(ሲ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(so) ,
result => q(ሶ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(su) ,
result => q(ሱ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(s) ,
result => q(ስ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʃa) ,
result => q(ሻ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʃe) ,
result => q(ሼ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʃi) ,
result => q(ሺ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʃo) ,
result => q(ሾ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʃu) ,
result => q(ሹ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʃ) ,
result => q(ሽ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ta) ,
result => q(ታ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(te) ,
result => q(ቴ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ti) ,
result => q(ቲ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(to) ,
result => q(ቶ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(tu) ,
result => q(ቱ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(t) ,
result => q(ት) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʧa) ,
result => q(ቻ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʧe) ,
result => q(ቼ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʧi) ,
result => q(ቺ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʧo) ,
result => q(ቾ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʧu) ,
result => q(ቹ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʧ) ,
result => q(ች) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(u) ,
result => q(ኡ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(va) ,
result => q(ቫ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ve) ,
result => q(ቬ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(vi) ,
result => q(ቪ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(vo) ,
result => q(ቮ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(vu) ,
result => q(ቩ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(v) ,
result => q(ቭ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(xa) ,
result => q(ኻ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(xe) ,
result => q(ኼ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(xi) ,
result => q(ኺ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(xo) ,
result => q(ኾ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(xu) ,
result => q(ኹ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(x) ,
result => q(ኽ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʒa) ,
result => q(ዣ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʒe) ,
result => q(ዤ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʒi) ,
result => q(ዢ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʒo) ,
result => q(ዦ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ʒu) ,
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;
|