Azure speech to text - Questions

Bharath Chandra 1 Reputation point
2021-04-29T00:01:45.56+00:00

Hi,

I am using Azure speech to text to transcript some Audio files into text. The method which I was using is python method speech_recognizer.start_continuous_recognition()

Continius recognition section under https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/get-started-speech-to-text?tabs=windowsinstall&pivots=programming-language-python

It is working very well, but now to improve my use case i need to add a few things. Can you please help me with the below set of questions please.

  1. Language detection:

From what I tried using the code samples, language detection of an Audio file can only by done by providing a set of 4 possible languages. Is that correct?

Is there any way the APIs can work on detecting the language without me having to provide set of possible languages?

What would happen if an Audio file has more than 4 different languages that would not be defined in the set of possible languages.

  1. Explicit language, profanity check and bad language warning.

Does Azure speech to text APIs provide ways to detect bad language and possibly mask those with stars(****) or similar? Does the APIs provide any flags/options to mask such words? Can you provide some code samples if available.

  1. Metadata:

When processing a file, is there a way Azure speech to text APIs could provide metadata on the files? For example if an Audio file is uploaded can it provide a set of flags, keyword summary of how many times a certain word has been used etc? Can you provide some code samples if available.

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,391 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,611 Reputation points
    2021-04-29T14:29:50.073+00:00

    @Bharath Chandra Thanks for the question. Speech SDK offers automatic language detection but it currently has a services-side limit of two languages per detection. Language currently supported - https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support

    NLP-recipes repo can help with scenarios: https://github.com/microsoft/nlp-recipes and Cognitive services content moderator also includes a subset of them.

    0 comments No comments