Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TTS PLS XHTML/HTML: how do I tag words on a page to use nondefault pronunciations without hand-coding each one?

5 views
Skip to first unread message

Nick

unread,
Nov 4, 2009, 11:42:56 AM11/4/09
to
I'm trying to support text-to-speech synthesis from my (X)HTML pages.
Creating and maintaining a whole set of SSML pages is too much work.
Using <abbr title=""> (the acronym tag is leaving HTML), with the
title values being speakable, has proven messy, because browsers show
many more underlinings and tooltips, distracting users who see.
Instead, I'm writing CSS2 for ACSS and a XML-based PLS 1.0 *.pls file
of supplemental pronunciations with the intent that TTS shouldn't make
as many errors.

How do I associate my Web pages with the *.pls file?

What I've considered so far: Marking up strings in XHTML 1.0/HTML 4.01
with pronunciations, with identical strings having to be marked up at
every appearance, is far too labor-intensive. Listing the strings once
per page in the head element is unsupported. Linking the PLS file from
the (X)HTML page is unsupported, although I've proposed that for HTML
5 (see http://www.w3.org/Bugs/Public/show_bug.cgi?id=7601). And I'd
like to handle a string that can have more than one pronunciation by
specifying in the PLS file a default pronunciation and on an (X)HTML
page when an exceptional pronunciation is desired for that context,
but I don't have a way to do that yet, although I wonder if I can I
use the id="" and name="" attributes in (X)HTML and xml:id in the XML-
written *.pls file to tie one word on a page to a pronunciation in the
*.pls file. I asked at comp.speech.research but it hasn't been
answered.

Any ideas?

Thank you.

--
Nick

John Doe

unread,
Nov 5, 2009, 10:21:19 PM11/5/09
to
You might want to try the research group
comp.speech.research


Nick <Nick_Levinson yahoo.com> wrote:

--


> Path: news.astraweb.com!border1.newsrouter.astraweb.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!r3g2000vbi.googlegroups.com!not-for-mail
> From: Nick <Nick_Levinson yahoo.com>
> Newsgroups: comp.speech.users
> Subject: TTS PLS XHTML/HTML: how do I tag words on a page to use nondefault pronunciations without hand-coding each one?
> Date: Wed, 4 Nov 2009 08:42:56 -0800 (PST)
> Organization: http://groups.google.com
> Lines: 32
> Message-ID: <4d288970-e78b-40e7-9489-d5fbe351eaf0 r3g2000vbi.googlegroups.com>
> NNTP-Posting-Host: 24.45.8.125
> Mime-Version: 1.0
> Content-Type: text/plain; charset=ISO-8859-1
> X-Trace: posting.google.com 1257352976 23450 127.0.0.1 (4 Nov 2009 16:42:56 GMT)
> X-Complaints-To: groups-abuse google.com
> NNTP-Posting-Date: Wed, 4 Nov 2009 16:42:56 +0000 (UTC)
> Complaints-To: groups-abuse google.com
> Injection-Info: r3g2000vbi.googlegroups.com; posting-host=24.45.8.125; posting-account=TtgVhQkAAACIaKfIaeKunVREAKyB6MuR
> User-Agent: G2/1.0
> X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111217 Fedora/3.0.4-1.fc10 Firefox/3.0.4,gzip(gfe),gzip(gfe)
>

0 new messages