1 <?xml version="1.0" encoding="UTF-8" ?> 2 <!DOCTYPE supplementalData SYSTEM "../../common/dtd/ldmlSupplemental.dtd"> 3 <!-- 4 Copyright 1991-2017 Unicode, Inc. 5 CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/) 6 For terms of use, see http://www.unicode.org/copyright.html 7 --> 8 <supplementalData> 9 <version number="$Revision: 13868 $"/> 10 <transforms> 11 <transform source="fa" target="fa_FONIPA" direction="forward" alias="fa-fonipa-t-fa"> 12 <tRule><![CDATA[ 13 [\u200c \u200d] ; # Strip off ZWJ and ZWNJ. 14 ::NFD; 15 16 # Rewrite similarly-looking Arabic letters to Persian. 17 ; 18 ; 19 ; 20 ; 21 ::NULL; 22 23 $VOWEL = [ ]; 24 $BOUNDARY = [^[:L:][:M:][:N:]]; 25 $IPA_CONSONANT = [ m n p b t d k f v s z h {t} {d} l ]; 26 27 # Vowels 28 jj; 29 ($VOWEL) | $1; 30 j; 31 ej; 32 33 ov; 34 i; 35 36 ; 37 [^eo] {} $BOUNDARY e; 38 [e] {} $BOUNDARY ; 39 ; 40 $BOUNDARY n; 41 ; 42 je; 43 {} $BOUNDARY j; 44 ; 45 {} $VOWEL j; 46 i; 47 48 $BOUNDARY {} i; 49 \u0653 ; 50 ; 51 e; 52 o; 53 u; 54 ; # Probably [^$BOUNDARY] 55 e; 56 e; 57 58 {} $VOWEL v; 59 $IPA_CONSONANT {} u; 60 {} $IPA_CONSONANT u; 61 62 $BOUNDARY {} $BOUNDARY va; 63 ; 64 o; 65 66 # Consonants 67 p; 68 b; 69 [ ] t; 70 d; 71 k; 72 ; 73 [ ] ; 74 t; 75 d; 76 f; 77 [ ] s; 78 [ ] z; 79 ; 80 ; 81 ; 82 ; 83 ; 84 h; 85 m; 86 n; 87 h; 88 l; 89 ; 90 91 ; 92 ::NULL; 93 94 # TODO: How to handle these? 95 ([$IPA_CONSONANT|$VOWEL]){} $1; 96 97 [ ] ; 98 99 ::NFC; 100 101 ]]></tRule> 102 </transform> 103 </transforms> 104 </supplementalData> 105