]>
Commit | Line | Data |
---|---|---|
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 |