PhraseSetArgs constructor

const PhraseSetArgs({
  1. Input<double>? boost,
  2. Input<String>? location,
  3. Input<String>? name,
  4. required Input<String> phraseSetId,
  5. Input<List<Phrase>>? phrases,
  6. Input<String>? project,
})

Creates a new PhraseSetArgs. boost 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. location Optional. name The resource name of the phrase set. phraseSetId The ID to use for the phrase set, which will become the final component of the phrase set's resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters. phrases A list of word and phrases. project Optional.

Implementation

const PhraseSetArgs({
  this.boost,
  this.location,
  this.name,
  required this.phraseSetId,
  this.phrases,
  this.project,
});