Is it possible to adjust the Content Filter for Azure AI TTS Services?

Syrehn 0 Reputation points
2023-10-09T23:50:07.2766667+00:00

Currently experiencing an issue with Azure AI TTS services. It appears that it is censoring content (used via the Azure AI service API).

For example, if it tries to say:

Bubba's perks from the game DBD are Barbecue & Chili, Franklin's Demise and Knockout.

It censors/bans the phrase "BBQ & Chili" and will not say the sentence. There are other instances where this is occurring as well.

Is there some sort of Content Filter that we can adjust for the TTS speech service to allow for certain words in this type of context?

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,356 questions
{count} votes

1 answer

Sort by: Most helpful
  1. navba-MSFT 27,500 Reputation points Microsoft Employee
    2023-10-10T05:28:01.93+00:00

    @Syrehn Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    I understand that you are experiencing an issue with Azure AI TTS services where it appears to be censoring content used via the Azure AI service API. You are looking for a way to adjust the content filter for the TTS speech service to allow for certain words in this type of context.

    Avoiding / Updating the content filtering option isn't available for this scenario. However, I tried to use the same above sentence Bubba's perks from the game DBD are Barbecue & Chili, Franklin's Demise and Knockout. and I am able to make the speech service say the entire sentence without filtering any words.

    I also tried it from the Azure Speech Studio, REST API and also using the Microsoft.CognitiveServices.Speech SDK. They all work as expected and able to pronounce all the phrase including Barbecue & Chili . May I know how did you try the TTS service for the above sentence ?

    Action Plan:

    Could you please open the Speech Studio portal and then try the Audio Content Creation feature ?

    User's image

    Then click on the New --> Text file:

    User's image

    Enter the concerned Text sentence, Select the Voice and Standard as Default. Then click on the Play button

    User's image

    More info about audio creation feature is here.

    If you want to try it using the SDK, here is the sample code.

    Hope this helps. Please let me know if you have any queries or concerns. I would be happy to help.

    **

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.