]> git.saurik.com Git - apple/icu.git/blame - icuSources/data/translit/fa_fa_FONIPA.txt
ICU-62107.0.1.tar.gz
[apple/icu.git] / icuSources / data / translit / fa_fa_FONIPA.txt
CommitLineData
0f5d89e8
A
1# © 2016 and later: Unicode, Inc. and others.
2# License & terms of use: http://www.unicode.org/copyright.html#License
3#
4# File: fa_fa_FONIPA.txt
5# Generated from CLDR
6#
7
8[\u200c \u200d] → ; # Strip off ZWJ and ZWNJ.
9::NFD;
10# Rewrite similarly-looking Arabic letters to Persian.
11ي → ی;
12ى → ی;
13ك → ک;
14ە → ه;
15::NULL;
16$VOWEL = [ \u064E \u0650 \u064F \u0653 ا و ی];
17$BOUNDARY = [^[:L:][:M:][:N:]];
18$IPA_CONSONANT = [ m n p b t d k ɡ ʔ f v s z ʃ ʒ ʁ ɢ h χ {t\u0361ʃ} {d\u0361ʒ} l ɾ ];
19# Vowels
20ی\u0651 → jj;
21($VOWEL)\u0651 → \u0651 | $1;
22\u064Eی\u0652 → æj;
23\u0650ی\u0652 → ej;
24\u064Eو\u0652 → ov;
25\u0650ی → iː;
26\u064Eه → æ;
27[^ːeoæ] {ه} $BOUNDARY → e;
28[e] {ه} $BOUNDARY → ;
29ا\u064E → æ;
30ا\u064B $BOUNDARY → æn;
31\u064E → æ;
32یه → je;
33{ه\u0654} $BOUNDARY → jæ;
34ی\u0670 → ɒː;
35{ی} $VOWEL → j;
36ی → iː;
37$BOUNDARY {ای} → iː;
38ا\u0653 → ɒː;
39آ → ɒː;
40ا\u0650 → e;
41ا\u064F → o;
42او → uː;
43ا → ɒː; # Probably [^$BOUNDARY]
44\u0650 → e;
45ه\u0650 → e;
46{و} $VOWEL → v;
47$IPA_CONSONANT {و} → uː;
48\u064F{و} $IPA_CONSONANT → uː;
49$BOUNDARY {و} $BOUNDARY → va;
50و → ;
51\u064F → o;
52# Consonants
53پ → p;
54ب → b;
55[ت ط] → t;
56د → d;
57ک → k;
58گ → ɡ;
59[ع ء] → ʔ;
60چ → t\u0361ʃ;
61ج → d\u0361ʒ;
62ف → f;
63[س ص ث] → s;
64[ز ذ ض ظ] → z;
65ش → ʃ;
66ژ → ʒ;
67خ → χ;
68غ → ʁ;
69ق → ɢ;
70ح → h;
71م → m;
72ن → n;
73ه → h;
74ل → l;
75ر → ɾ;
76\u0652 → ;
77::NULL;
78# TODO: How to handle these?
79([$IPA_CONSONANT|$VOWEL]){\u0651} → $1;
80[ \u0651 \u0654 \u064B \u0670 ] → ;
81::NFC;
82