Skip to content
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

with sapi5, 6.1.7100 is read as "June First" #351

Closed
nvaccessAuto opened this issue Jan 1, 2010 · 3 comments
Closed

with sapi5, 6.1.7100 is read as "June First" #351

nvaccessAuto opened this issue Jan 1, 2010 · 3 comments

Comments

@nvaccessAuto
Copy link

Reported by timeless on 2009-07-02 13:14
see 349 for preconditions

  1. Open NVDA's Preferences>Synthesizer
  2. Select Synthesizer "sapi5, Microsoft Speech API version 5 (sapi.SPVoice)"
  3. Run Nokia PC Suite
  4. Help>About Nokia PC Suite
  5. press twice; press ; press
    This should take you to System Information and a box with details

Eventually it will read Version: 6.1.7100, as "June First"

This doesn't happen if you are using the default synthesizer, but I was hoping that perhaps you could work around SAPI thinking this was a date :).
Blocking #349

@nvaccessAuto
Copy link
Author

Comment 2 by zahari_bgr on 2015-03-04 03:13
Hi,
I don't get what this has to do with the SAPI5.
Actually, 6.1.7100 might look to some sinthesizer a lot like Jun first 7100.
I.e. I don't think NVDA has any fault here.

@nvaccessAuto
Copy link
Author

Comment 3 by nvdakor (in reply to comment 2) on 2015-03-04 03:26
Replying to zahari_bgr:

Hi,

I don't get what this has to do with the SAPI5.

Actually, 6.1.7100 might look to some sinthesizer a lot like Jun first 7100.

I.e. I don't think NVDA has any fault here.

NVDA can be told to tell a synthesizer what to do. This is where regular expressions in voice-specific speech dictionaries are useful, and that is the idea behind some recent tickets, such as the one asking that NVDA do some preprocessing before telling a synthesizer what to do with announcing a string formatted like date such as 3/3/2015. A caveat with implementing regular expression entries is speed: although you can compile a regular expression (re.compile), because of the way the underlying Python implementation is written, it may add an extra layer when NvDA preprocesses strings to detect specific patterns.
Thanks.

@nvaccessAuto
Copy link
Author

Comment 4 by jteh on 2015-03-16 05:01
This voice is choosing to interpret this as a date. This kind of handling is misguided IMO, but it occurs far too often. Unfortunately, there's no way to disable this. However, you can probably work around it with a speech dictionary entry.
Changes:
Added labels: cantfix
State: closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant