Feature: Punctuate

Last updated 05/06/2021
BATCH
STREAM

Deepgram’s Punctuate feature adds punctuation and capitalization to your transcript.

Use Cases

Some examples of use cases for punctuation include:

  • Customers who want transcripts to be more readable.

Enable Feature

To enable punctuation, when you call Deepgram’s API, add a punctuate parameter set to true in the query string:

punctuate=true

To transcribe audio from a file on your computer, run the following curl command in a terminal or your favorite API client. Be sure to swap the placeholder username and password with the email address you used to create your Deepgram account and your Deepgram password.

curl
-X POST
-u USERNAME:PASSWORD
-H "Content-Type: audio/wav"
--data-binary @myaudio.wav
"https://brain.deepgram.com/v2/listen?punctuate=true"

Results

Once applied, results will appear in the transcript.

TruthBefore punctuateAfter punctuate
hello and thank you for calling premier services please be aware that this call may be recorded for quality training purposes my name is beth and i will be assisting you todayhello and thank you for calling premier services please be aware that this call may be recorded for quality training purposes my name is beth and i will be assisting you todayHello, and thank you for calling Premier Services. Please be aware that this call may be recorded for quality training purposes. My name is Beth, and I will be assisting you today.
TruthBefore punctuateAfter punctuate
well it it isn't working i can't get the screen to turn on it was fine yesterday but today it's just a solid black screen it won't come on even when i tap the home button or the power buttonwell it it isn't working i can't get the screen to turn on it was fine yesterday but today it's just a solid black screen it won't come on even when i tap the home button or the power buttonWell, it isn't working. I can't get the screen to turn on. It was fine yesterday. But today it's just a solid black screen. It won't come on even when I tap the home button or the power button.
TruthBefore punctuateAfter punctuate
because this phone is really important to me and i'm just seriously worried because i've got a lot of important stuff on it like all of the photos they've taken and contacts i've saved i've got my passwords on there just a lot of things that i wouldn't be able to replace and i'd really love to be able to keep it or get it back or save it or somethingbecause this phone is really important to me and i'm just seriously worried because i've got a lot of important stuff on it like all of the photos they've taken and contacts i've saved i've got my passwords on there just a lot of things that i wouldn't be able to replace and i'd really love to be able to keep it or get it back or save it or somethingBecause this phone is really important to me, and I'm just seriously worried because I've got a lot of important stuff on it, like, all of the photos they've taken and contacts I've saved. I've got my passwords on there. Just a lot of things that I wouldn't be able to replace. And I'd really love to be able to keep it or get it back or save it or something.

By default, Deepgram applies its general AI model, which is a good, general purpose model for everyday situations. To learn more about the customization possible with Deepgram's API, check out the Speech Recognition API Reference.