[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
A problem with punctuation setting with possible related the Speech-disp
From: |
Michael Whapples |
Subject: |
A problem with punctuation setting with possible related the Speech-dispatcher Espeak module |
Date: |
Thu, 27 Jan 2011 11:30:08 +0000 |
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"
Now try:
espeak --punct=".-" "21.-test"
and:
espeak "21.-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"
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?
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
>
>