-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Open
Labels
api: speechIssues related to the Speech-to-Text API.Issues related to the Speech-to-Text API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
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



Metadata
Metadata
Assignees
Labels
api: speechIssues related to the Speech-to-Text API.Issues related to the Speech-to-Text API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.