proto_docs/google/cloud/speech/v1p1beta1/resource.rb in google-cloud-speech-v1p1beta1-0.11.1 vs proto_docs/google/cloud/speech/v1p1beta1/resource.rb in google-cloud-speech-v1p1beta1-0.12.0
- old
+ new
@@ -88,21 +88,26 @@
# e.g. `$MONTH`. To refer to custom classes that were defined inline in the
# request, set the class's `custom_class_id` to a string unique to all class
# resources and inline classes. Then use the class' id wrapped in $`{...}`
# e.g. "$\\{my-months}". To refer to custom classes resources, use the class'
# id wrapped in `${}` (e.g. `${my-months}`).
+ #
+ # Speech-to-Text supports three locations: `global`, `us` (US North America),
+ # and `eu` (Europe). If you are calling the `speech.googleapis.com`
+ # endpoint, use the `global` location. To specify a region, use a
+ # [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
+ # `eu` location value.
# @!attribute [rw] value
# @return [::String]
# The phrase itself.
# @!attribute [rw] boost
# @return [::Float]
# Hint Boost. Overrides the boost set at the phrase set level.
# 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
+ # 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 and 20. We recommend using a binary search approach
# to finding the optimal value for your use case. Speech recognition
# will skip PhraseSets with a boost value of 0.
class Phrase
include ::Google::Protobuf::MessageExts