Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#10,603 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@BigBlackWolf がすでに取り組んでいます。

2024年6月10日 から。

評価

この issue はまだ評価されていません。

説明

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
主要言語
Jupyter Notebook
スター
8.1k
フォーク
6.7k
平均マージ
4日 4時間
マージ済み PR(30日)
8

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

GoogleCloudPlatform/python-docs-samples のほかの issue

GoogleCloudPlatform/python-docs-samples の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。