ISSUE-8: Need a way to define a contextual text-to-speech (TTS) pronunciation dictionary on a per-resource basis.
contextual TTS dictionary
Need a way to define a contextual text-to-speech (TTS) pronunciation dictionary on a per-resource basis.
- State:
- OPEN
- Product:
- IndieUI: User Context (Future Release)
- Raised by:
- James Craig
- Opened on:
- 2012-12-03
- Description:
- Possibly need a way to define page context dictionaries for text-to-speech.
See https://github.com/darobin/respec/issues/108 for some background.
Basically, you could define (in one location) that ✔ and ✘ are spoken as "True" and "False" rather than needing to define it in the markup for each use.
<!-- Note: the 'text' role is a 1.1 proposal. -->
<span role="text" aria-label="True">✔</span>
<span role="text" aria-label="False">✘</span>
We could also use something like this for phonetic hints for proper nouns or terminology that is uncommon outside the context of the document (and therefore mispronounce by the text-to-speech engine), where the text is not replaced, but the string is used to hint at the correct pronunciation.
I was thinking something along the lines of:
// contextual text alternatives for unicode chars
// (otherwise these would be spoken literally as the unicode descriptions such as "heavy ballot x"
window.tts.phonetics['✔'] = 'True';
window.tts.phonetics['✘'] = 'False';
// contextual pronunciation of proper nouns or other terminology
window.tts.phonetics['Knowbility'] = 'nobility';
window.tts.phonetics['WAI-ARIA'] = 'way aria';
It's possible this should use a phonemic alphabet for the pronunciation strings, but I'm not sure about the l18n implications of that decision at the time of this writing.
window.tts.phonetics could return a dictionary of all set values such as:
{ '✔':'True', '✘':'False', 'Knowbility':'nobility', 'WAI-ARIA':'way aria' }
- Related Actions Items:
- No related actions
- Related emails:
- Re: IndieUI-ISSUE-8 (TTS context dictionary): Need a way to define a context and pronunciation dictionary on a per-resource basis. [IndieUI: User Context 1.0] (from jason@jasonjgw.net on 2012-12-05)
- Re: IndieUI-ISSUE-8 (TTS context dictionary): Need a way to define a context and pronunciation dictionary on a per-resource basis. [IndieUI: User Context 1.0] (from jcraig@apple.com on 2012-12-04)
- Re: IndieUI-ISSUE-8 (TTS context dictionary): Need a way to define a context and pronunciation dictionary on a per-resource basis. [IndieUI: User Context 1.0] (from jcraig@apple.com on 2012-12-04)
- Re: IndieUI-ISSUE-8 (TTS context dictionary): Need a way to define a context and pronunciation dictionary on a per-resource basis. [IndieUI: User Context 1.0] (from jcraig@apple.com on 2012-12-04)
- Re: IndieUI-ISSUE-8 (TTS context dictionary): Need a way to define a context and pronunciation dictionary on a per-resource basis. [IndieUI: User Context 1.0] (from jason@jasonjgw.net on 2012-12-04)
- Re: IndieUI-ISSUE-8 (TTS context dictionary): Need a way to define a context and pronunciation dictionary on a per-resource basis. [IndieUI: User Context 1.0] (from jcraig@apple.com on 2012-12-03)
- IndieUI-ISSUE-8 (TTS context dictionary): Need a way to define a context and pronunciation dictionary on a per-resource basis. [IndieUI: User Context 1.0] (from sysbot+tracker@w3.org on 2012-12-03)
Related notes:
Might be covered well enough by PLS Lexicon spec.
http://www.w3.org/TR/pronunciation-lexicon/
Punting to Future Release
James Craig, 15 Mar 2013, 00:39:30Display change log