• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8" ?>
2<!DOCTYPE supplementalData SYSTEM "../../common/dtd/ldmlSupplemental.dtd">
3<!--
4Copyright © 1991-2013 Unicode, Inc.
5CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
6For terms of use, see http://www.unicode.org/copyright.html
7-->
8<supplementalData>
9	<version number="$Revision: 12243 $"/>
10	<transforms>
11		<transform source="es" target="es_FONIPA" direction="forward" alias="es-fonipa-t-es">
12			<tRule><![CDATA[
13# Tranformation from Spanish to Spanish in IPA transcription (es_FONIPA).
14# Not fully phonemic, since we mark up allophonic variants of voiced stops,
15# e.g. we break down /b/ into [b] and [β].
16#
17# See e.g. "Ortografía de la lengua española" by Real Academia Española,
18# available in PDF format on the web (non-stable URL).
19#
20# Definitions.
21
22$bow = [-\ $] ;  # Beginning of word.
23$consonant = [bβdðfgɣʝklʎmnŋɲθprɾstʧx] ;
24$syll = '.' ;    # Syllable boundary.
25#
26#
27
28#
29#
30
31::NFC;
32::Lower;
33#
34#
35
36#
37#
38#
39# Word-initial cluster simplification.
40#
41
42$bow { ct → | t ;  # ctónico (?)
43$bow { cz → | z ;  # czar
44$bow { gn → | n ;  # gnomo
45$bow { mn → | n ;  # mnemotécnico
46$bow { ps → | s ;  # psicología
47$bow { pt → | t ;  # pterodáctilo
48$bow { x  → | s ;  # xilófono
49#
50#
51#
52# Vowels and glides.
53#
54
55$bow       { i                 → i ;
56$consonant { i } [ aáeé  oóuú] → j ;
57[aeo]      { i } [^aáeé  oóuú] → i̯ ;
58i } [ aáeé  oóuú] → ʝ ;
59i                 → i ;
60#
61#
62
63[aeo]      { y } [^aáeéiíoóuú] → i̯ ;
64y } [ aáeéiíoóuú] → ʝ ;
65y                 → i ;
66#
67#
68
69[aeo]      { u } [^aáeéiíoó  ] → u̯ ;
70u } [ aáeéiíoó  ] → w ;
71ü } [   eéií    ] → w ;
72u                 → u ;
73ü                 → u ;  # Should not be needed, but just in case.
74#
75#
76
77[aá] → a ;
78[eé] → e ;
79í    → i ;
80[oó] → o ;
81ú    → u ;
82#
83#
84#
85# Consonants.
86#
87
88b → β ;
89cch → ʧ ;
90ch → ʧ ;
91cc } [^eéií] → k ;
92c } [eéií] → θ ;
93c → k ;
94d → ð ;
95f → f;
96gu } [eéiíy] → ɣ ;
97g } [eéiíy] → x ;
98g → ɣ ;
99hi } [aáeéoóuú] → ʝ ;
100h → $syll ;
101j → x ;
102k → k ;
103ll → ʎ ;
104l → l ;
105m → m ;
106n → n ;
107ñ → ɲ ;
108p → p ;
109qu } [eéiíy] → k ;
110q → k ;
111[-\ lns$] { r → r ;
112rr → r ;
113r → ɾ ;
114ss → s ;
115s → s ;
116tx → ʧ ;  # for loanwords from Basque, Catalan
117t → t ;
118v → β ;
119w → $syll w ;
120x } h?[aáeéiíoóuú$] → ks ;
121x } [^aáeéiíoóuú$] → s ;
122x → ks ;
123z → θ ;
124#
125#
126#
127# Second pass: phoneme-to-phone rules. Differentiation of /β/ into [b] and [β],
128# place assimilation of [n], etc.
129#
130
131::Null;
132#
133#
134
135[-\ ] → ;
136#
137#
138
139[mnɲŋ  $] { β → b ;
140[mnɲŋlʎ$] { ð → d ;
141[mnɲŋ  $] { ɣ → g ;
142#
143#
144
145n } [gɣk] → ŋ ;
146#
147#
148# Optional: Place assimilation of n before labial consonants.
149#
150# n } [bβpfm] → m ;
151#
152# Optional: Voicing of [s].
153#
154# s } [bβdð] → z ;
155# s } [gɣ][^ei] → z ;
156# s } [mnɲŋlʎrɾ] → z ;
157#
158# Optional: Lenition of [k] before [θ].
159#
160# k } θ → ɣ ;
161#
162#
163
164::NFC;
165			]]></tRule>
166		</transform>
167	</transforms>
168</supplementalData>
169