GetPhraseSetResult

data class GetPhraseSetResult(val boost: Double, val kmsKeyName: String, val kmsKeyVersionName: String, val name: String, val phrases: List<PhraseResponse>)

Constructors

Link copied to clipboard
fun GetPhraseSetResult(boost: Double, kmsKeyName: String, kmsKeyVersionName: String, name: String, phrases: List<PhraseResponse>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

The KMS key name with which the content of the PhraseSet is encrypted. The expected format is projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.

Link copied to clipboard

The KMS key version name with which content of the PhraseSet is encrypted. The expected format is projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}.

Link copied to clipboard

The resource name of the phrase set.

Link copied to clipboard

A list of word and phrases.