|
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/(?^umi:\G[ְֱֲֳִֵֶַָֹֻּׁׂאבגדהוזחטיךכלםמןנסעףפץצקרשת׳])/ ,
{
type => 'transform' ,
data => [
{
from => q(Any) ,
to => q(NFD) ,
},
],
},
{
type => 'conversion' ,
data => [
{
before => q() ,
after => q() ,
replace => q(בּ) ,
result => q(b) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(פּ) ,
result => q(P) ,
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(u) ,
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(d) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(הּ) ,
result => q(h) ,
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(kh) ,
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(v) ,
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(h) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ח) ,
result => q(ẖ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ו) ,
result => q(w) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ז) ,
result => q(z) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q([טת]) ,
result => q(t) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(י) ,
result => q(y) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q([כך]) ,
result => q(kh) ,
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(n) ,
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(f) ,
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() ,
after => q() ,
replace => q(ר) ,
result => q(r) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(שׁ) ,
result => q(sh) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(שׂ) ,
result => q(s) ,
revisit => 0,
},
{
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(o) ,
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(e) ,
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(i) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q(ִ) ,
result => q(i) ,
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(u) ,
revisit => 0,
},
]
},
] },
);
no Moo;
1;
|