Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
O Speech-to-Text oferece o modelo latest_short para reconhecimento de fala
que consiste em enunciados únicos. Isso pode ser útil para aplicativos em que os usuários
emitem comandos de voz únicos, em vez de monólogos ou
ditado de formato longo.
Quando um reconhecedor com o modelo latest_short é usado para uma solicitação
de reconhecimento, o Speech-to-Text deixará de executar o reconhecimento assim que detectar
que um enunciado foi concluído. O Speech-to-Text retorna uma resposta de evento
de atividade de fala com o tipo END_OF_SINGLE_UTTERANCE seguido pelos
resultados da transcrição.
Enunciado único e StreamingRecognize
Caso o modelo latest_shortRecognizer
seja selecionado para uma solicitação StreamingRecognize, o Speech-to-Text fechará
o stream automaticamente após o enunciado terminar.
Com eventos de atividade de voz
Caso os eventos de atividade de voz também tenham sido ativados para uma
solicitação StreamingRecognize, a Speech-to-Text ainda retornará eventos
de início e fim da atividade de voz.
Os tempos limite de atividade de voz para o início da fala ainda serão aplicados. Os tempos limite da atividade
de voz para o término da fala não serão aplicados, já que o stream será fechado
assim que o enunciado terminar.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-29 UTC."],[],[],null,["# Single utterance behavior\n\n| **Preview**\n|\n|\n| This product or feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products and features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nSpeech-to-Text provides the `latest_short` model for recognizing speech that\nconsists of single utterances. This may be useful for applications where users\nare issuing single voice commands as opposed to long-form monologue or\ndictation.\n\nWhen a recognizer with the `latest_short` model is used for a recognition\nrequest, Speech-to-Text will stop performing recognition once it detects\nan utterance has finished. Speech-to-Text will return a speech activity\nevent response with the type `END_OF_SINGLE_UTTERANCE` followed by the\ntranscription results.\n\nSingle utterance and StreamingRecognize\n---------------------------------------\n\nIn the case where a `latest_short` model [`Recognizer`](/speech-to-text/v2/docs/reference/rest/v2/projects.locations.recognizers#Recognizer)\nis selected for a `StreamingRecognize` request, Speech-to-Text will close\nthe stream automatically after the utterance has ended.\n\n### With voice activity events\n\nIn the case where voice activity events have also been enabled for a\nStreamingRecognize request, Speech-to-Text will still return speech\nbegin/end voice activity events.\nVoice activity timeouts for speech begin will still be applied. Voice activity\ntimeouts for speech end will not be applied, since the stream will be closed as\nsoon as the utterance ends."]]