From 28cebca9bdc029999a4c1479ff81dd6100428df5 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 5 Jun 2019 10:23:30 -0700 Subject: [PATCH] Tweak 'SpeechContext' docstring (via synth). (#8223) --- .../cloud/speech_v1p1beta1/proto/cloud_speech.proto | 6 ++++++ .../cloud/speech_v1p1beta1/proto/cloud_speech_pb2.py | 7 ++++++- packages/google-cloud-speech/synth.metadata | 10 +++++----- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/packages/google-cloud-speech/google/cloud/speech_v1p1beta1/proto/cloud_speech.proto b/packages/google-cloud-speech/google/cloud/speech_v1p1beta1/proto/cloud_speech.proto index 146d9f3ab009..731d4ee46d31 100644 --- a/packages/google-cloud-speech/google/cloud/speech_v1p1beta1/proto/cloud_speech.proto +++ b/packages/google-cloud-speech/google/cloud/speech_v1p1beta1/proto/cloud_speech.proto @@ -515,6 +515,12 @@ message SpeechContext { // specific commands are typically spoken by the user. This can also be used // to add additional words to the vocabulary of the recognizer. See // [usage limits](/speech-to-text/quotas#content). + // + // List items can also be set to classes for groups of words that represent + // common concepts that occur in natural language. For example, rather than + // providing phrase hints for every month of the year, using the $MONTH class + // improves the likelihood of correctly transcribing audio that includes + // months. repeated string phrases = 1; // Hint Boost. Positive value will increase the probability that a specific diff --git a/packages/google-cloud-speech/google/cloud/speech_v1p1beta1/proto/cloud_speech_pb2.py b/packages/google-cloud-speech/google/cloud/speech_v1p1beta1/proto/cloud_speech_pb2.py index 21bae3105c42..3eb50db3801a 100644 --- a/packages/google-cloud-speech/google/cloud/speech_v1p1beta1/proto/cloud_speech_pb2.py +++ b/packages/google-cloud-speech/google/cloud/speech_v1p1beta1/proto/cloud_speech_pb2.py @@ -2265,7 +2265,12 @@ specific words and phrases, for example, if specific commands are typically spoken by the user. This can also be used to add additional words to the vocabulary of the recognizer. See - `usage limits `__. + `usage limits `__. List items + can also be set to classes for groups of words that represent + common concepts that occur in natural language. For example, + rather than providing phrase hints for every month of the + year, using the $MONTH class improves the likelihood of + correctly transcribing audio that includes months. boost: Hint Boost. Positive value will increase the probability that a specific phrase will be recognized over other similar diff --git a/packages/google-cloud-speech/synth.metadata b/packages/google-cloud-speech/synth.metadata index 928b9f68ee01..2ded3005e095 100644 --- a/packages/google-cloud-speech/synth.metadata +++ b/packages/google-cloud-speech/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-05-25T12:32:13.080853Z", + "updateTime": "2019-06-05T12:29:07.567477Z", "sources": [ { "generator": { "name": "artman", - "version": "0.21.0", - "dockerImage": "googleapis/artman@sha256:28d4271586772b275cd3bc95cb46bd227a24d3c9048de45dccdb7f3afb0bfba9" + "version": "0.23.1", + "dockerImage": "googleapis/artman@sha256:9d5cae1454da64ac3a87028f8ef486b04889e351c83bb95e83b8fab3959faed0" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "7ca19138ccebe219a67be2245200e821b3e32123", - "internalRef": "249916728" + "sha": "4f3516a6f96dac182973a3573ff5117e8e4f76c7", + "internalRef": "251559960" } }, {