# as part of her internship at PanLex (panlex.org)
ئ → ʔ;
ا → a;
ە → ɛ;
ب → b;
پ → p;
ت → t;
ج → d͡ʒ;
چ → t͡ʃ;
خ → x;
د → d;
ر → r;
ز → z;
ژ → ʒ;
س → s;
ش → ʃ;
غ → ʁ;
ف → f;
ق → q;
ك → k;
گ → ɡ;
ڭ → ŋ;
ل → l;
م → m;
ن → n;
ھ → h;
و → o;
ۇ → u;
ۆ → ø;
ۈ → y;
ۋ → w;
ې → e;
ى → i;
ي → j;
# Handle geminated consonants
::Null;
bb → bː;
pp → pː;
tt } [^\u0361] → tː; # make sure not to consume tt͡ʃ
d͡ʒd͡ʒ → d͡ʒː;
t͡ʃt͡ʃ → t͡ʃː;
xx → xː;
dd } [^\u0361] → dː; # make sure not to consume dd͡ʒ
rr → rː;
zz → zː;
ʒʒ → ʒː;
ss → sː;
ʃʃ → ʃː;
ʁʁ → ʁː;
ff → fː;
qq → qː;
kk → kː;
ɡɡ → ɡː;
ŋŋ → ŋː;
ll → lː;
mm → mː;
nn → nː;
hh → hː;
ww → wː;
jj → jː;
]]>