Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

speech: is_final not returning true for stream in German, French, Spanish, but working for English

Aberta
#10,603 2 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 5 dias

@BigBlackWolf já está trabalhando nisso.

Desde 10/6/2024.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

api: speech priority: p2 samples triage me type: bug

In which file did you encounter the issue?

python-docs-samples/speech/microphone/transcribe_streaming_mic.py

Did you change the file? If so, how?

  • add credentials in the beginning

  • change language_code to de-DE or fr-FR

  • line 174 ff (just print the transcript and the is_final state continue afterwards)

transcript = result.alternatives[0].transcript
print(transcript, result.is_final)
continue

Describe the issue

in English, the is_final state will turn to true (everything works fine), but does not for German, French or Spanish
the end of sequence is not detected or returned

Please replace *.json by the real json-file-name
githubSpeechToText.txt

image image image
Linguagem predominante
Jupyter Notebook
Estrelas
8.1k
Forks
6.7k
Merge médio
4d 12h
PRs com merge (30d)
9

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de GoogleCloudPlatform/python-docs-samples

Todas as issues de GoogleCloudPlatform/python-docs-samples

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.