speech: is_final not returning true for stream in German, French, Spanish, but working for English
@BigBlackWolf ci sta già lavorando.
Dal 10/6/2024.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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
- Lingua principale
- Jupyter Notebook
- Stelle
- 8.1k
- Fork
- 6.7k
- Merge medio
- 4g 4h
- PR unite (30g)
- 8
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di GoogleCloudPlatform/python-docs-samples
-
samples
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
samples
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
-
samples
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
samples
GoogleCloudPlatform/python-docs-samples#14117 · 1 assegnatario ·
-
samples
GoogleCloudPlatform/python-docs-samples#14091 · 1 assegnatario ·