GNOME Bugzilla – Bug 591709
When doing verbalized punctuation, distinguish between text from app and text from Orca
Last modified: 2010-08-04 16:29:24 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."
*** Bug 618338 has been marked as a duplicate of this bug. ***
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
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'): ...
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.
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?
(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?
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 ***