GoogleCloudPlatform / GoogleCloudPlatform/python-docs-samples
speech: is_final not returning true for stream in German, French, Spanish, but working for English
- 主要語言
- Jupyter Notebook
- 星號
- 8.1k
- 分支
- 6.7k
- 平均合併
- 4 天 2 小時
- 30 天內合併 PR
- 16
描述
## 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](https://github.com/GoogleCloudPlatform/python-docs-samples/files/12570181/githubSpeechToText.txt)
貢獻指南
評估
這個 Issue 還沒有評估資料。