Language

Language allows you to supply a BCP-47 language tag that specifies the primary spoken language of submitted audio.

language string. Default: en

Enable Feature

To enable Language, when you call Deepgram’s API, add a language parameter in the query string and set it to the language you would like to recognize:

language=OPTION

📘

For a full list of languages and compatible models see our Model & Language Overview.

To transcribe audio from a file on your computer, run the following curl command in a terminal or your favorite API client.

curl \
  --request POST \
  --header 'Authorization: Token YOUR_DEEPGRAM_API_KEY' \
  --header 'Content-Type: audio/wav' \
  --data-binary @youraudio.wav \
  --url 'https://api.deepgram.com/v1/listen?language=OPTION'

📘

Replace YOUR_DEEPGRAM_API_KEY with your Deepgram API Key.

Results

Once the language option is applied, results will appear in the transcript.

Use Cases

Some examples of use cases for Language include:

  • Customers with employees who live in regions with specific dialects or accents.
  • Customers who need to ensure a specific language in their dataset is transcribed.