Hint Boost. Positive value will increase the probability that a specific
phrase will be recognized over other similar sounding phrases. The higher
the boost, the higher the chance of false positive recognition as well.
Negative boost values would correspond to anti-biasing. Anti-biasing is not
enabled, so negative boost will simply be ignored. Though boost can
accept a wide range of positive values, most use cases are best served with
values between 0 (exclusive) and 20. We recommend using a binary search
approach to finding the optimal value for your use case as well as adding
phrases both with and without boost to your requests.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the Google Cloud Speech v1 API class PhraseSet is 3.8.0, with multiple previous versions available, from 3.7.0 down to 2.2.0, accessible in the documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePhraseSet\u003c/code\u003e class provides a way to give hints to the speech recognizer, allowing users to favor specific words and phrases during the speech-to-text process.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePhraseSet\u003c/code\u003e includes a "Boost" property that can be adjusted to increase or decrease the likelihood of specific phrases being recognized, with positive values increasing the probability and negative values being ignored.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePhraseSet\u003c/code\u003e class includes a \u003ccode\u003eName\u003c/code\u003e property that represents the resource name, a \u003ccode\u003ePhraseSetName\u003c/code\u003e property that is a typed view of the \u003ccode\u003eName\u003c/code\u003e, and a \u003ccode\u003ePhrases\u003c/code\u003e property that contains a list of the provided words and phrases.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePhraseSet\u003c/code\u003e class has 2 constructors: an empty constructor, and a second constructor which takes a copy of another \u003ccode\u003ePhraseSet\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]