Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#10,603 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@BigBlackWolf đang làm issue này rồi.

Từ ngày 10/6/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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
Ngôn ngữ chính
Jupyter Notebook
Star
8.1k
Fork
6.7k
Merge trung bình
4 ngày 4 giờ
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của GoogleCloudPlatform/python-docs-samples

Tất cả issue của GoogleCloudPlatform/python-docs-samples

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.