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

Azure Cognitive Services explicit punctuation settings #76

Closed
potato-owo opened this issue Jun 27, 2024 · 1 comment
Closed

Azure Cognitive Services explicit punctuation settings #76

potato-owo opened this issue Jun 27, 2024 · 1 comment

Comments

@potato-owo
Copy link

potato-owo commented Jun 27, 2024

Could you please add to the UI and Azure speech provider the settings for explicit punctuation?

For continuous recognition (only), the setting would be enabled with:
speechConfig.EnableDictation();
reference: https://learn.microsoft.com/en-us/javascript/api/microsoft-cognitiveservices-speech-sdk/speechconfig?view=azure-node-latest#microsoft-cognitiveservices-speech-sdk-speechconfig-enabledictation

Otherwise, for non-continuous recognition, it must be set with:
speechConfig.SetServiceProperty("punctuation", "explicit", ServicePropertyChannel.UriQueryParameter);
reference: Azure-Samples/cognitive-services-speech-sdk#667 (comment)

With EnableDictation or explicit punctuation, users have finer control of punctuation returned in the recognized result.

It could default to automatic punctuation as it is now, but when set, users need to say in their sentences "question mark", "comma", "period", etc for these punctuation marks to be included in the text.

@VRCWizard
Copy link
Owner

added: https://github.com/VRCWizard/TTS-Voice-Wizard/releases/tag/v1.6.9.5

It is disabled by default, find the option under Speech Provider > Azure Cognitive Services
image

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

No branches or pull requests

2 participants