After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 591709 - When doing verbalized punctuation, distinguish between text from app and text from Orca
When doing verbalized punctuation, distinguish between text from app and text...
Status: RESOLVED DUPLICATE of bug 543157
Product: orca
Classification: Applications
Component: speech
2.27.x
Other All
: Normal enhancement
: ---
Assigned To: Orca Maintainers
Orca Maintainers
: 618338 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-08-13 15:59 UTC by Willie Walker
Modified: 2010-08-04 16:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Willie Walker 2009-08-13 15:59:49 UTC
From http://mail.gnome.org/archives/orca-list/2009-August/msg00212.html:

"we could potentially try to devise something that allows us to distinguish between the text that Orca has generated (including punctuation) and the text that has come from the application.  We could then selectively apply the various filters, such as verbalized punctuation, to the strings.  This, of course, assumes that the next generation speech system, which is what Luke Yelavich at Canonical is working on, allows us to have this kind of control."
Comment 1 Mesar Hameed 2010-06-07 14:33:25 UTC
*** Bug 618338 has been marked as a duplicate of this bug. ***
Comment 2 Mesar Hameed 2010-06-12 20:26:36 UTC
In case of the sd/opentts, we can use the ssml markup to give us the required pause.
The python bindings currently do not support this, I have emailed trev with a patch that will enable  us to select ssml mode.

We also need the python bindings to have a version field, so that we can determine if the ssml method (in this case) is available to us.

Blocking until version field and provided patch have been actioned.
Trev, if you open a opentts bug, please give us the link here for completeness.

Thanks.

-Jon
Comment 3 Chris Brannon 2010-06-20 15:12:30 UTC
In OpenTTS, we added a method to the SSIPClient class for selecting
the data mode (TEXT or SSML).  Our implementation is slightly different
than the patch you sent.  The method is named set_data_mode, and
it takes an argument of DataMode.TEXT (for text), or DataMode.SSML
(for SSML).

We also added a VERSION field to the Python API.
It's opentts.VERSION after importing opentts.
However, you can also use hasattr to determine whether or not an
SSIPClient object supports the set_data_mode method.
E.G., if hasattr(our_client, 'set_data_mode'): ...
Comment 4 Mesar Hameed 2010-06-24 10:27:02 UTC
Hi Chris,
Could you please also make the python bindings patch available to speech dispatcher.

I am hoping to look into this after orca 2.31.4.
Comment 5 Chris Brannon 2010-06-27 12:56:45 UTC
Hi,
I sent the patch for selecting the data mode to the Speech Dispatcher
list.
I don't have a patch to allow the API version to be queried, yet.
Is the latter necessary?
Comment 6 Joanmarie Diggs (IRC: joanie) 2010-07-05 03:13:32 UTC
(In reply to comment #4)

> I am hoping to look into this after orca 2.31.4.

Jon, do you think it will be something done for 3.0?
Comment 7 Joanmarie Diggs (IRC: joanie) 2010-08-04 16:29:24 UTC
Actually, this is a dup of the 543157 which is being addressed as part of the Andalucía work.

*** This bug has been marked as a duplicate of bug 543157 ***