File: //snap/google-cloud-cli/current/help/man/man1/gcloud_alpha_ml_speech_recognizers_update.1
.TH "GCLOUD_ALPHA_ML_SPEECH_RECOGNIZERS_UPDATE" 1
.SH "NAME"
.HP
gcloud alpha ml speech recognizers update \- update a Speech\-to\-text recognizer
.SH "SYNOPSIS"
.HP
\f5gcloud alpha ml speech recognizers update\fR (\fIRECOGNIZER\fR\ :\ \fB\-\-location\fR=\fILOCATION\fR) [\fB\-\-async\fR] [\fB\-\-display\-name\fR=\fIDISPLAY_NAME\fR] [\fB\-\-language\-codes\fR=[\fILANGUAGE_CODE\fR,...]] [\fB\-\-model\fR=\fIMODEL\fR] [\fB\-\-audio\-channel\-count\fR=\fIAUDIO_CHANNEL_COUNT\fR\ \fB\-\-encoding\fR=\fIENCODING\fR\ \fB\-\-sample\-rate\fR=\fISAMPLE_RATE\fR] [\fB\-\-[no\-]enable\-automatic\-punctuation\fR\ \fB\-\-[no\-]enable\-spoken\-emojis\fR\ \fB\-\-[no\-]enable\-spoken\-punctuation\fR\ \fB\-\-[no\-]enable\-word\-confidence\fR\ \fB\-\-[no\-]enable\-word\-time\-offsets\fR\ \fB\-\-max\-alternatives\fR=\fIMAX_ALTERNATIVES\fR\ \fB\-\-[no\-]profanity\-filter\fR\ \fB\-\-[no\-]separate\-channel\-recognition\fR\ \fB\-\-max\-speaker\-count\fR=\fIMAX_SPEAKER_COUNT\fR\ \fB\-\-min\-speaker\-count\fR=\fIMIN_SPEAKER_COUNT\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR Update a Speech\-to\-text recognizer.
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
Recognizer resource \- recognizer. The arguments in this group can be used to
specify the attributes of this resource. (NOTE) Some attributes are not given
arguments in this group but can be set in other ways.
To set the \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5recognizer\fR on the command line with a fully specified
name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fIRECOGNIZER\fR
ID of the recognizer or fully qualified identifier for the recognizer.
To set the \f5recognizer\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5recognizer\fR on the command line.
.RE
.sp
This positional argument must be specified if any of the other arguments in this
group are specified.
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
Location of the recognizer.
To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5recognizer\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-location\fR on the command line.
.RE
.sp
.RE
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-async\fR
Return immediately, without waiting for the operation in progress to complete.
The default is \fBFalse\fR.
.TP 2m
\fB\-\-display\-name\fR=\fIDISPLAY_NAME\fR
Name of this recognizer as it appears in UIs.
.TP 2m
\fB\-\-language\-codes\fR=[\fILANGUAGE_CODE\fR,...]
Language code is one of \f5en\-US\fR, \f5en\-GB\fR, \f5fr\-FR\fR. Check
documentation
(https://cloud.google.com/speech\-to\-text/docs/multiple\-languages) for using
more than one language code.
.TP 2m
\fB\-\-model\fR=\fIMODEL\fR
Which model to use for recognition requests. Select the model best suited to
your domain to get best results. Guidance for choosing which model to use can be
found in the Transcription Models Documentation
(https://cloud.google.com/speech\-to\-text/v2/docs/transcription\-model) and the
models supported in each region can be found in the Table Of Supported Models
(https://cloud.google.com/speech\-to\-text/v2/docs/speech\-to\-text\-supported\-languages).
.TP 2m
Encoding format
.RS 2m
.TP 2m
\fB\-\-audio\-channel\-count\fR=\fIAUDIO_CHANNEL_COUNT\fR
Number of channels present in the audio data sent for recognition. Required if
\-\-encoding flag is specified and is not AUTO. Must be set to a value between 1
and 8.
.TP 2m
\fB\-\-encoding\fR=\fIENCODING\fR
Encoding format of the provided audio. For headerless formats, must be set to
\f5LINEAR16\fR, \f5MULAW,\fR or \f5ALAW\fR. For other formats, set to
\f5AUTO\fR. Overrides the recognizer configuration if present, else uses
recognizer encoding.
.TP 2m
\fB\-\-sample\-rate\fR=\fISAMPLE_RATE\fR
Sample rate in Hertz of the audio data sent for recognition. Required if
\-\-encoding flag is specified and is not AUTO. Must be set to a value between
8000 and 48000.
.RE
.sp
.TP 2m
ASR Features
.RS 2m
.TP 2m
\fB\-\-[no\-]enable\-automatic\-punctuation\fR
If set, adds punctuation to recognition result hypotheses. Use
\fB\-\-enable\-automatic\-punctuation\fR to enable and
\fB\-\-no\-enable\-automatic\-punctuation\fR to disable.
.TP 2m
\fB\-\-[no\-]enable\-spoken\-emojis\fR
If set, adds spoken emoji formatting. Use \fB\-\-enable\-spoken\-emojis\fR to
enable and \fB\-\-no\-enable\-spoken\-emojis\fR to disable.
.TP 2m
\fB\-\-[no\-]enable\-spoken\-punctuation\fR
If set, replaces spoken punctuation with the corresponding symbols in the
request. Use \fB\-\-enable\-spoken\-punctuation\fR to enable and
\fB\-\-no\-enable\-spoken\-punctuation\fR to disable.
.TP 2m
\fB\-\-[no\-]enable\-word\-confidence\fR
If set, the top result includes a list of words and the confidence for those
words. Use \fB\-\-enable\-word\-confidence\fR to enable and
\fB\-\-no\-enable\-word\-confidence\fR to disable.
.TP 2m
\fB\-\-[no\-]enable\-word\-time\-offsets\fR
If set, the top result includes a list of words and their timestamps. Use
\fB\-\-enable\-word\-time\-offsets\fR to enable and
\fB\-\-no\-enable\-word\-time\-offsets\fR to disable.
.TP 2m
\fB\-\-max\-alternatives\fR=\fIMAX_ALTERNATIVES\fR
Maximum number of recognition hypotheses to be returned. Must be set to a value
between 1 and 30.
.TP 2m
\fB\-\-[no\-]profanity\-filter\fR
If set, the server will censor profanities. Use \fB\-\-profanity\-filter\fR to
enable and \fB\-\-no\-profanity\-filter\fR to disable.
.TP 2m
\fB\-\-[no\-]separate\-channel\-recognition\fR
Mode for recognizing multi\-channel audio using Separate Channel Recognition.
When set, the service will recognize each channel independently. Use
\fB\-\-separate\-channel\-recognition\fR to enable and
\fB\-\-no\-separate\-channel\-recognition\fR to disable.
.TP 2m
Speaker Diarization
.RS 2m
.TP 2m
\fB\-\-max\-speaker\-count\fR=\fIMAX_SPEAKER_COUNT\fR
Maximum number of speakers in the conversation. Must be greater than or equal to
\-\-min\-speaker\-count. Must be set to a value between 1 and 6.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-min\-speaker\-count\fR=\fIMIN_SPEAKER_COUNT\fR
Minimum number of speakers in the conversation. Must be less than or equal to
\-\-max\-speaker\-count. Must be set to a value between 1 and 6.
This flag argument must be specified if any of the other arguments in this group
are specified.
.RE
.RE
.RE
.sp
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.
Run \fB$ gcloud help\fR for details.
.SH "NOTES"
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation\-only early access
allowlist.