Open sebllll opened 1 year ago
Thank you for your feedback. This has been routed to the support team for assistance.
Adding Service team to look into this.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @robch.
Library name and version
Microsoft.CognitiveServices.Speech 1.28.0
Describe the bug
SpeechConfig.SetProfanity(ProfanityOption) has no effect when using Intentrecognizer.
Expected behavior
I expect the same effect for all recognizers.
When setting up a SpeechConfig, i did set the Profanity like so:
SpeechConfig.SetProfanity(ProfanityOption.Raw)
So far so good - when using the speechConfig for a Speechrecognizer.
But when using an intentrecognizer instead of the speechrecognizer, the setting has no effect no matter which enum i select.
Actual behavior
SpeechConfig.SetProfanity(ProfanityOption) has no effect (in case of being used in an intentrecognizer)
Reproduction Steps
this is correct, the output is conforming the profanityOption
this is not correct, the output is ignoring the profanityOption
Environment
Win 10 and Win 11
Visual Studio 17.3.3 (among others)
dotnet sdk 6.0.403 (among others)
The issue is existent at least since version 1.23.0 of the package. At least i started developing with that version and had the issue since then.