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