All Products
Search
Document Center

Introduction

Last Updated: May 22, 2020

Extended hotwords

In speech recognition services, if the default recognition result for some business-specific words does not meet your requirements, you can add these words to a vocabulary as extended hotwords to improve the recognition effect.

An extended hotword can be the name of a person or company. It can also be a proper noun in a certain field, such as Tracy (a person name which is usually recognized as Tracey), appellee in the judicial field, and free shipping in the e-commerce field. Generally, extended hotwords can neither contain too many characters in length nor contain punctuation marks. For more information about specific restrictions, see the following sections. After an extended hotword vocabulary is set, you can test the speech recognition effect, and make adjustments if unsatisfactory.

When a universal model is used, only a limited number of extended hotwords can be added. We recommend that you use a custom model if you need to add a large number extended hotwords.

Differences between the console and POP API operations for setting extended hotwords

  • If you set extended hotwords for a project in the console, the hotwords are bound to the appkey of the project. You do not need to specify the extended hotword vocabulary in the client code. If you create an extended hotword vocabulary by using the corresponding pctowap open platform (POP) API operation, you need to call the corresponding SDK method to specify the ID of the vocabulary in the client code for the vocabulary to take effect.
  • If you set extended hotwords for a project in the console, each hotword occupies a line in the training corpus. You do not need to set the weight for each hotword. If you create an extended hotword vocabulary by using the corresponding POP API operation, you need to set the weight for each hotword.

Application example

If some movie names often appear in the object to be recognized, you can add them to the hotwords of a project to improve their recognition rate.

  1. The Shawshank Redemption
  2. Farewell My Concubine
  3. Léon: The Professional
  4. Forrest Gump
  5. Life Is Beautiful
  6. Titanic
  7. Spirited Away
  8. Schindler's List
  9. Inception
  10. WALL-E
  11. Hachi: A Dog's Tale
  12. Three Idiots
  13. The Legend of 1900
  14. The Chorus
  15. The Truman Show
  16. The Godfather
  17. My Neighbor Totoro
  18. Interstellar