See how Deepgram stacks up. Check out our ASR Comparison Tool. 🍎🍊

BACK TO CHANGELOG

API, Feature

Improved Keyword Boosting

BY Keith Lam  | February 17 2021

keywords={keyword}

We are releasing an updated keyword boosting feature (keywords={keyword}) with improved support for out of vocabulary words. Keywords can be boosted or suppressed with this feature.Β  Note, that this is not a persistent feature and every API call that requires keyword boosting or suppression needs to be send every time.

This feature is useful in two situations: (1) recognizing words in domain with a large vocabulary of domain-specific jargon and (2) a client application that depends on recognizing names, brands, or other relatively rare keywords with high accuracy.

We recommend using this feature in combination with a custom trained model from Deepgram. Deepgram will customize a model for your domain, ensuring that the vocabulary of the model fits your domain. Keyword boosting allows customers to add additional words rapidly (i.e. new brands, new menu items, etc) to augment a custom model’s domain-focused vocabulary.

To adjust the default strength of the keyword, assign a boost score to each supplied keyword like so β€”Β keywords=Deepgram:3. To suppress keywords, apply a negative boost score β€”Β keywords=Deepgram:-10. The simple formΒ keywords=DeepgramΒ is equivalent toΒ keywords=Deepgram:1, andΒ keywords=Deepgram:0Β is equivalent to no boost at all (as if you never passed theΒ keywordsΒ parameter in the first place). The boosts apply exponentially, soΒ keywords=Deepgram:4Β is a LOT more powerful thanΒ keywords=Deepgram:3.

To opt out of the new functionality, please add the query parameter keyword_boost=legacy to your request.

Read more about specifying keywordsΒ in the Deepgram Documentation.

Apply Now

Receive up to $100,000 to use over 12 months.

Become a Partner

When you become a partner you’re in good company.

Talk to Customer Success