]>
Commit | Line | Data |
---|---|---|
f3c0d7a5 A |
1 | # © 2016 and later: Unicode, Inc. and others. |
2 | # License & terms of use: http://www.unicode.org/copyright.html#License | |
3 | # | |
729e4ab9 | 4 | # File: es_es_FONIPA.txt |
f3c0d7a5 | 5 | # Generated from CLDR |
729e4ab9 | 6 | # |
2ca993e8 A |
7 | |
8 | # Tranformation from Spanish to Spanish in IPA transcription (es_FONIPA). | |
9 | # Not fully phonemic, since we mark up allophonic variants of voiced stops, | |
10 | # e.g. we break down /b/ into [b] and [β]. | |
11 | # | |
12 | # See e.g. "Ortografía de la lengua española" by Real Academia Española, | |
13 | # available in PDF format on the web (non-stable URL). | |
14 | # | |
15 | # Definitions. | |
51004dcb | 16 | $bow = [-\ $] ; # Beginning of word. |
729e4ab9 | 17 | $consonant = [bβdðfgɣʝklʎmnŋɲθprɾstʧx] ; |
51004dcb | 18 | $syll = '.' ; # Syllable boundary. |
2ca993e8 A |
19 | # |
20 | # | |
21 | # | |
22 | # | |
729e4ab9 A |
23 | ::NFC; |
24 | ::Lower; | |
2ca993e8 A |
25 | # |
26 | # | |
27 | # | |
28 | # | |
29 | # | |
30 | # Word-initial cluster simplification. | |
31 | # | |
51004dcb A |
32 | $bow { ct → | t ; # ctónico (?) |
33 | $bow { cz → | z ; # czar | |
34 | $bow { gn → | n ; # gnomo | |
35 | $bow { mn → | n ; # mnemotécnico | |
36 | $bow { ps → | s ; # psicología | |
37 | $bow { pt → | t ; # pterodáctilo | |
38 | $bow { x → | s ; # xilófono | |
2ca993e8 A |
39 | # |
40 | # | |
41 | # | |
42 | # Vowels and glides. | |
43 | # | |
51004dcb A |
44 | $bow { i → i ; |
45 | $consonant { i } [ aáeé oóuú] → j ; | |
46 | [aeo] { i } [^aáeé oóuú] → i\u032F ; | |
47 | i } [ aáeé oóuú] → ʝ ; | |
48 | i → i ; | |
2ca993e8 A |
49 | # |
50 | # | |
51004dcb | 51 | [aeo] { y } [^aáeéiíoóuú] → i\u032F ; |
729e4ab9 | 52 | y } [ aáeéiíoóuú] → ʝ ; |
51004dcb | 53 | y → i ; |
2ca993e8 A |
54 | # |
55 | # | |
51004dcb A |
56 | [aeo] { u } [^aáeéiíoó ] → u\u032F ; |
57 | u } [ aáeéiíoó ] → w ; | |
58 | ü } [ eéií ] → w ; | |
59 | u → u ; | |
60 | ü → u ; # Should not be needed, but just in case. | |
2ca993e8 A |
61 | # |
62 | # | |
729e4ab9 A |
63 | [aá] → a ; |
64 | [eé] → e ; | |
51004dcb | 65 | í → i ; |
729e4ab9 | 66 | [oó] → o ; |
51004dcb | 67 | ú → u ; |
2ca993e8 A |
68 | # |
69 | # | |
70 | # | |
71 | # Consonants. | |
72 | # | |
729e4ab9 A |
73 | b → β ; |
74 | cch → ʧ ; | |
75 | ch → ʧ ; | |
76 | cc } [^eéií] → k ; | |
77 | c } [eéií] → θ ; | |
78 | c → k ; | |
79 | d → ð ; | |
80 | f → f; | |
81 | gu } [eéiíy] → ɣ ; | |
82 | g } [eéiíy] → x ; | |
83 | g → ɣ ; | |
84 | hi } [aáeéoóuú] → ʝ ; | |
85 | h → $syll ; | |
86 | j → x ; | |
87 | k → k ; | |
88 | ll → ʎ ; | |
89 | l → l ; | |
90 | m → m ; | |
91 | n → n ; | |
92 | ñ → ɲ ; | |
93 | p → p ; | |
94 | qu } [eéiíy] → k ; | |
95 | q → k ; | |
96 | [-\ lns$] { r → r ; | |
97 | rr → r ; | |
98 | r → ɾ ; | |
99 | ss → s ; | |
100 | s → s ; | |
51004dcb | 101 | tx → ʧ ; # for loanwords from Basque, Catalan |
729e4ab9 A |
102 | t → t ; |
103 | v → β ; | |
104 | w → $syll w ; | |
105 | x } h?[aáeéiíoóuú$] → ks ; | |
106 | x } [^aáeéiíoóuú$] → s ; | |
107 | x → ks ; | |
108 | z → θ ; | |
2ca993e8 A |
109 | # |
110 | # | |
111 | # | |
112 | # Second pass: phoneme-to-phone rules. Differentiation of /β/ into [b] and [β], | |
113 | # place assimilation of [n], etc. | |
114 | # | |
729e4ab9 | 115 | ::Null; |
2ca993e8 A |
116 | # |
117 | # | |
729e4ab9 | 118 | [-\ ] → ; |
2ca993e8 A |
119 | # |
120 | # | |
51004dcb | 121 | [mnɲŋ $] { β → b ; |
729e4ab9 | 122 | [mnɲŋlʎ$] { ð → d ; |
51004dcb | 123 | [mnɲŋ $] { ɣ → g ; |
2ca993e8 A |
124 | # |
125 | # | |
729e4ab9 | 126 | n } [gɣk] → ŋ ; |
2ca993e8 A |
127 | # |
128 | # | |
129 | # Optional: Place assimilation of n before labial consonants. | |
130 | # | |
131 | # n } [bβpfm] → m ; | |
132 | # | |
133 | # Optional: Voicing of [s]. | |
134 | # | |
135 | # s } [bβdð] → z ; | |
136 | # s } [gɣ][^ei] → z ; | |
137 | # s } [mnɲŋlʎrɾ] → z ; | |
138 | # | |
139 | # Optional: Lenition of [k] before [θ]. | |
140 | # | |
141 | # k } θ → ɣ ; | |
142 | # | |
143 | # | |
729e4ab9 | 144 | ::NFC; |
2ca993e8 | 145 |