Closed hjy1210 closed 1 year ago
This is an issue with the Microsoft Speech Synthesizer. Using a different Speech Synthesizer does not have this problem. If you cannot change the Microsoft Speech Synthesizer, a workaround solution is to add a new entry in the Access8Math Speech Unicode Dictionary. Here are the steps:
@tsengwoody, Yes, using a different Speech Synthesizer DO solve the problem. Thanks.
Yes, this issue is Speech Synthesizer related.
But after navigate into the details of fraction, it is correct with the same "Windows OneCore voices + Microsoft Hanhan" Speech Synthesizer.
So, is it possible to solve this issue purely in Access8Math side?
Let me provide a more detailed explanation of the situation in which this issue occurs. The problematic speech sequence is as follows: ['分之', BreakCommand(time=100), '1'] PS: The BreakCommand is an NVDA speech control command that introduces a pause in the speech. I have test and known that this issue can be resolved by avoiding this specific pattern. For example: ['分枝', BreakCommand(time=100), '1'] ['分枝', BreakCommand(time=100), '衣'] So, This issue can be to resolve this by modifying the "default" data of Access8Math and let Access8Math avoid to generate ['分之', BreakCommand(time=100), '1'] speech sequence. However, this approach results in a speech sequence that deviates from the original text, making it more of a workaround. I think it's not suitable to deliberately modify "default" data of Access8Math to address this issue. That's why I initially suggested that users should resolve this issue by adding new entries to the Access8Math Unicode dictionary(or modify math rule).
You mean replace ['分之', BreakCommand(time=100), '1'] with ['分枝', BreakCommand(time=100), '1'] can resolve the issue.
But replace '分之' with '分枝' is not appropriate for meaning.
How about replace "BreakCommand(time=100)" with "BreakCommand(time=50)" if it works?
I tried replacing the time of BreakCommand (10, 20, ... 110), but it still doesn't work correctly. It appears that the issue arises when there is a BreakCommand between "分之" and "1". PS: The time for BreakCommand can be changed from "Tools -> Access8Math -> Settings -> Reading: Item interval time." The base value is 10, and you can add values using the select option, allowing you to set it between 10 and 110 (ms).
Please browse to following page and let NVDA+Access8Math read out.