[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A problem with punctuation setting with possible related the Speech-disp

From: Trevor Saunders
Subject: A problem with punctuation setting with possible related the Speech-dispatcher Espeak module
Date: Thu, 27 Jan 2011 07:01:19 -0500


Thanks for figuring this out, I was having trouble reproducing this.

I'm using espeak version
eSpeak text-to-speech: 1.43.03  13.Mar.10

On Thu, Jan 27, 2011 at 11:30:08AM +0000, Michael Whapples wrote:
> I think I have nailed down where the problem lies, it turns out its
> in espeak itself.
> It seems to be that if there is a punctuation character defined in
> the list of punctuation characters which espeak should speak which
> is immediately after a punctuation character which is not in the
> list then espeak doesn't speak the bit before the punctuation mark.
> So taking the example 21.-test, try the following command:
> espeak --punct="-" "21.-test"

I infact here "21 <pause> hyphen test"

> Now try:
> espeak --punct=".-" "21.-test"

FOr me this produces "twenty one dot <pause> hyphen test"

> and:
> espeak "21.-test"

I get "twenty one <pause> test"

> OK, a bit more exploration reveals its more specific, its when the
> punctuation before the one in the punctuation list is a full stop or
> a comma (may be any punctuation leading to a pause). Try some of
> these:
> espeak --punct="-" "21,-test"
> espeak --punct="-" "21/-test"
> espeak --punct="-" "21?-test"
> espeak --punct="-" "21\!-test"

These all seem to work for me.
> OK, so if the bug lives in espeak, then espeak is probably the best
> place for the fix. However as speech-dispatcher is meant to make
> speech synthesisers behave consistently, if it may take time for
> such a fix to appear in espeak, would it be appropriate to have a
> fix in speech-dispatcher?

I suspect this is already fixed since this all works for me.  However
imho there is a big difference between providing a standard interface
and making things work the same way.  In any case working around synth
bugs like this will lead to madness so I believe its a poor idea.


> Michael Whapples
> On -10/01/37 20:59, Hammer Attila wrote:
> >Dear List,
> >
> >Some time hungarian date formats using following type strings:
> >janu?r 21.-?n
> >Janu?r means in english january string, the 21.-?n string means 21th.
> >When the punctuation setting is setted Speech-dispatcher for
> >example with some, Speech-dispatcher Espeak module spokening only
> >the - character and the suffix, but skyp the - character before
> >have number.
> >
> >I testing purpose turn Speech-dispatcher default language with
> >english, and I see same results.
> >When you trying testing spd-say with "21.-text" string,
> >Speech-dispatcher will be skyp number and dot speaking, only
> >spokening the - character and text text.
> >This is resulting a problem for example when I using Orca with few
> >or few or most punctuation settings with Speech-dispatcher Espeak
> >module.
> >The problem is happening perhaps because I setted following
> >punctuation characters with
> >.speech-dispatcher/conf/modules/espeak.conf file with always want
> >hear if the Orca punctuation setting is not none:
> >EspeakPunctuationList "@+_?\"\?()[]:-{}|%<>\?"
> >The problem is happening if list containing the - character, other
> >cases not. This is true with Orca and spd-say too.
> >If I setting punctuation level with "all" with
> >.speech-dispatcher/conf/speechd.conf, the problem is not
> >happening, independent the
> >.speech-dispatcher/conf/modules/espeak.conf file containing the -
> >character or not (spd-say right spokening the 21.-text string).
> >This is not true for Orca, I think this bug is related with
> >following bug if the manual defined list containing - character:
> >https://bugzilla.gnome.org/show_bug.cgi?id=623595
> >Or:
> >https://bugzilla.gnome.org/show_bug.cgi?id=440114
> >
> >Need doing any fix with Speech-dispatcher Espeak module level?
> >
> >Attila
> >
> >
> _______________________________________________
> Speechd mailing list
> Speechd at lists.freebsoft.org
> http://lists.freebsoft.org/mailman/listinfo/speechd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]