Skip to content

Commit 0b2bb43

Browse files
committed
added x- alphabet support in addition to IPA
1 parent 09cb129 commit 0b2bb43

2 files changed

Lines changed: 46 additions & 33 deletions

File tree

css3-speech/Overview.html

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040

4141
<h1 id=top>CSS3 Speech Module</h1>
4242

43-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 18 January
43+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 19 January
4444
2011</h2>
4545

4646
<dl>
4747
<dt>This version:
4848

49-
<dd><!--<a href="http://www.w3.org/TR/2011/WD-css3-speech-20110118">http://www.w3.org/TR/2011/ED-css3-speech-20110118</a>-->
49+
<dd><!--<a href="http://www.w3.org/TR/2011/WD-css3-speech-20110119">http://www.w3.org/TR/2011/ED-css3-speech-20110119</a>-->
5050
<a
5151
href="http://dev.w3.org/csswg/css3-speech">http://dev.w3.org/csswg/css3-speech</a>
5252

@@ -2048,14 +2048,19 @@ <h2 id=phonetic-props><span class=secno>12. </span>Phonetics: &lsquo;<a
20482048

20492049
<h3 id=phonetic-alphabet><span class=secno>12.1. </span>@phonetic-alphabet</h3>
20502050

2051-
<p>The default alphabet for the pronunciation string of the &lsquo;<a
2052-
href="#phonemes"><code class=property>phonemes</code></a>&rsquo; property
2053-
is the International Phonetic Alphabet ("ipa"), corresponding to Unicode
2054-
representations of the phonetic characters developed by the International
2055-
Phonetic Association [<a href="#IPA">IPA</a>]. The phonetic alphabet can
2056-
be explicitly specified using the <a
2057-
href="#phonetic-alphabet">&lsquo;<code
2058-
class=css>@phonetic-alphabet</code>&rsquo;</a> rule, for instance:
2051+
<p> A phonetic alphabet is a collection of symbols that represent the
2052+
sounds of one or more human languages. The default alphabet for the
2053+
pronunciation string of the &lsquo;<a href="#phonemes"><code
2054+
class=property>phonemes</code></a>&rsquo; property is the International
2055+
Phonetic Alphabet ("ipa"), corresponding to Unicode representations of the
2056+
phonetic characters developed by the International Phonetic Association
2057+
[<a href="#IPA">IPA</a>]. The phonetic alphabet can be explicitly
2058+
specified using the <a href="#phonetic-alphabet">&lsquo;<code
2059+
class=css>@phonetic-alphabet</code>&rsquo;</a> rule.
2060+
2061+
<p class=note>Editor's note: The alphabet is specified via an at-rule to
2062+
avoid problems with inappropriate cascades that can occur if the alphabet
2063+
was set via a property.
20592064

20602065
<div class=example>
20612066
<p>Example:</p>
@@ -2075,19 +2080,16 @@ <h3 id=phonetic-alphabet><span class=secno>12.1. </span>@phonetic-alphabet</h3>
20752080
class=css>@phonetic-alphabet</code>&rsquo;</a> rule may appear in style
20762081
sheet and it must appear, when used, before any occurrence of the
20772082
&lsquo;<a href="#phonemes"><code class=property>phonemes</code></a>&rsquo;
2078-
property.
2079-
2080-
<p class=issue>ISSUE: we do not mention any other possible value for <a
2081-
href="#phonetic-alphabet">&lsquo;<code
2082-
class=css>@phonetic-alphabet</code>&rsquo;</a>. SSML 1.0 defines "ipa" to
2083-
be the only valid value - any other value should be added with the "x-"
2084-
prefix. Do we want to follow this? Or do we allow some other values? SAMPA
2085-
comes to my mind as a widely used ASCII alternative to IPA, but then:
2086-
SAMPA is language dependent, and it might be better to have X-SAMPA.
2087-
2088-
<p class=note>Editor's note: The alphabet is specified via an at-rule to
2089-
avoid problems with inappropriate cascades that can occur if the alphabet
2090-
was set via a property.
2083+
property. The only valid values are the default "ipa" phonetic alphabet,
2084+
and vendor-specific strings such as "x-organization" or
2085+
"x-organization-alphabet".</p>
2086+
<!-- p class="issue">ISSUE: we do not mention any other possible value
2087+
for <a href="#phonetic-alphabet">&lsquo;<code class=css>@phonetic-alphabet</code>&rsquo;</a>.
2088+
SSML 1.0 defines "ipa" to be the only valid
2089+
value - any other value should be added with the "x-" prefix. Do we
2090+
want to follow this? Or do we allow some other values? SAMPA comes
2091+
to my mind as a widely used ASCII alternative to IPA, but then: SAMPA
2092+
is language dependent, and it might be better to have X-SAMPA.</p -->
20912093

20922094
<h2 id=content><span class=secno>13. </span>Inserted and replaced content
20932095
<!-- div class="issue">
@@ -3041,6 +3043,9 @@ <h2 class=no-num id=changes>Appendix F &mdash; Changes from previous draft</h2>
30413043
use-cases do not relate to pronunciation rules (this is actually more
30423044
similar to audio cues, only applied with text rather than audio files)
30433045

3046+
<li>Added prose to explicitly support alphabet other than IPA, via the
3047+
"x-" vendor-specific prefix.
3048+
30443049
<li>Reworked HTML source code to work with the <a
30453050
href="http://cgi.w3.org/member-bin/process.cgi">members-only W3C
30463051
pre-processor/generator</a>

css3-speech/Overview.src.html

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1629,12 +1629,20 @@ <h2 id="phonetic-props"><span class="secno">12. </span>Phonetics:
16291629

16301630
<h3 id="phonetic-alphabet">@phonetic-alphabet</h3>
16311631

1632-
<p>The default alphabet for the pronunciation string of the
1632+
<p>
1633+
A phonetic alphabet is a collection of symbols that represent the sounds of one or more human languages.
1634+
The default alphabet for the pronunciation string of the
16331635
'phonemes' property is the International Phonetic
16341636
Alphabet ("ipa"), corresponding to Unicode representations of the phonetic
16351637
characters developed by the International Phonetic Association
1636-
[<a href="#IPA">IPA</a>]. The phonetic alphabet can be explicitly specified
1637-
using the <a href="#phonetic-alphabet">'@phonetic-alphabet'</a> rule, for instance:</p>
1638+
[<a href="#IPA">IPA</a>].
1639+
1640+
The phonetic alphabet can be explicitly specified
1641+
using the <a href="#phonetic-alphabet">'@phonetic-alphabet'</a> rule.</p>
1642+
1643+
<p class="note">Editor's note: The alphabet is specified via an
1644+
at-rule to avoid problems with inappropriate cascades that can
1645+
occur if the alphabet was set via a property.</p>
16381646

16391647
<div class="example">
16401648
<p>Example:</p>
@@ -1650,19 +1658,18 @@ <h3 id="phonetic-alphabet">@phonetic-alphabet</h3>
16501658
</div>
16511659

16521660
<p>At most one <a href="#phonetic-alphabet">'@phonetic-alphabet'</a> rule may appear in style sheet and it
1653-
must appear, when used, before any occurrence of the 'phonemes' property.</p>
1661+
must appear, when used, before any occurrence of the 'phonemes' property.
1662+
The only valid values are the default "ipa" phonetic alphabet,
1663+
and vendor-specific strings such as "x-organization" or "x-organization-alphabet".
1664+
</p>
16541665

1655-
<p class="issue">ISSUE: we do not mention any other possible value
1666+
<!-- p class="issue">ISSUE: we do not mention any other possible value
16561667
for <a href="#phonetic-alphabet">'@phonetic-alphabet'</a>.
16571668
SSML 1.0 defines "ipa" to be the only valid
16581669
value - any other value should be added with the "x-" prefix. Do we
16591670
want to follow this? Or do we allow some other values? SAMPA comes
16601671
to my mind as a widely used ASCII alternative to IPA, but then: SAMPA
1661-
is language dependent, and it might be better to have X-SAMPA.</p>
1662-
1663-
<p class="note">Editor's note: The alphabet is specified via an
1664-
at-rule to avoid problems with inappropriate cascades that can
1665-
occur if the alphabet was set via a property.</p>
1672+
is language dependent, and it might be better to have X-SAMPA.</p -->
16661673

16671674
<h2 id="content">Inserted and replaced content</h3>
16681675

@@ -2077,6 +2084,7 @@ <h2 class="no-num" id="changes">Appendix F &mdash; Changes from previous draft</
20772084
<li>Removed issue about the 'sub' SSML element given that the CSS "content" replacement functionality addresses the same requirement.</li>
20782085
<li>Added reference to "time" values syntax (s, ms) for 'voice-duration'.</li>
20792086
<li>Moved "content" outside of "phonetics", as the ::before and ::after use-cases do not relate to pronunciation rules (this is actually more similar to audio cues, only applied with text rather than audio files)</li>
2087+
<li>Added prose to explicitly support alphabet other than IPA, via the "x-" vendor-specific prefix.</li>
20802088
<li>Reworked HTML source code to work with the <a href="http://cgi.w3.org/member-bin/process.cgi">members-only W3C pre-processor/generator</a></li>
20812089
<li>Harmonized all hyperlinks so that CSS properties get auto-linked by the pre-processor</li>
20822090
<li>Fixed IPA URL reference</li>

0 commit comments

Comments
 (0)