-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speaking text containing an apostrophe with NVDA causes a mispronounciation. #10
Comments
Hello. |
If I remember correctly from looking at the code yesterday, the normal speak function uses speak ssml anyway. You might consider adding a third argument that causes it to use a standard speak function instead of ssml. I am fairly certain NVDA allows you to do this, and it would fix the problem I think.
From: M_maker ***@***.***>
Sent: Saturday, November 9, 2024 7:23
To: m1maker/SRAL ***@***.***>
Cc: blindgoofball ***@***.***>; Author ***@***.***>
Subject: Re: [m1maker/SRAL] Speaking text containing an apostrophe with NVDA causes a mispronounciation. (Issue #10)
Hello.
Unfortunately, this is a strange NVDA apparition with SpeakSsml.
The thing is, regular Speak inside will still use SpeakSsml to maintain the symbol level and other parameters.
I don't know, most likely you need to open an issue in NVDA.
—
Reply to this email directly, view it on GitHub <#10 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AWMZN33P4CGYUHNRW3WXVULZ7X5APAVCNFSM6AAAAABRLL5AUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGE4TIOBRGU> .
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
But symbol level and other features will not work. |
Hello.
I’ve just submitted a pull request that fixes this issue. I tested it out, and using the normal speak text function does not affect symbol level after all. I also left the old code in the NVDA speak function commented out in case it is needed later.
From: M_maker ***@***.***>
Sent: Sunday, November 10, 2024 4:00
To: m1maker/SRAL ***@***.***>
Cc: blindgoofball ***@***.***>; Author ***@***.***>
Subject: Re: [m1maker/SRAL] Speaking text containing an apostrophe with NVDA causes a mispronounciation. (Issue #10)
But symbol level and other features will not work.
—
Reply to this email directly, view it on GitHub <#10 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AWMZN3ZAALOI54HG5PXSPMDZ74N7XAVCNFSM6AAAAABRLL5AUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGY2DOMZXGI> .
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I opened the issue in the NVDA repository. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you try to speak a string with NVDA containing an apostrophe, for example "Bob's", NVDA will pronounce the text wrong. IT will say "Bob s" instead of the expected "bobs". This can easily be tested in the sral test program. Enter something with aan apostrophe when NVDA is the active engine. The same issue does not seem to occur with SAPI, so it is likely an issue with the way you are using NVDA.
The text was updated successfully, but these errors were encountered: