Hotwords are keywords or phrases that need to be prioritized for accurate recognition in a specific business domain. If some words are not recognized accurately, add them to a hotword list to improve recognition results.
Ways to create hotwords
Use the console to configure project hotwords, or use POP API to create business-specific hotword lists. The following table compares the two methods.
|
Comparison |
Console |
POP API |
|
Hotword list type |
Project hotword lists |
Business-specific hotword lists only |
|
How the list takes effect |
Bound to the project's Appkey. No hotword list needs to be specified in code. |
Call an SDK method in the client code to set the business-specific hotword list ID. |
|
Hotword configuration |
Enter one hotword per line. No weights are required. |
Specify a weight for each hotword. |
|
Instructions |
Example
To improve the recognition accuracy of movie titles, add the following titles as hotwords to the project, with one hotword per line.
The Shawshank Redemption
Farewell My Concubine
Léon: The Professional
Forrest Gump
Life Is Beautiful
Titanic
Spirited Away
Schindler's List
Inception
WALL-E
Hachi: A Dog's Tale
3 Idiots
The Legend of 1900
The Chorus
The Truman Show
The Godfather
My Neighbor Totoro
Interstellar