googleapis / googleapis/google-cloud-cpp
Adjust `end of speech` timeout on streaming speech to text
- Ngôn ngữ chính
- C++
- Star
- 659
- Fork
- 462
- Merge trung bình
- 1 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 89
Mô tả
**What component of `google-cloud-cpp` is this feature request for?**
google/cloud/speech/speech_client
**Is your feature request related to a problem? Please describe.**
I would like to reduce timeout it takes on Google before end of speech is detected
**Describe the solution you'd like**
I would like to have parameter added to streaming recognition config (speech::v1::StreamingRecognizeRequest) that would setup this timeout, similarly to what EndSilenceTimeout is on MSFT (https://learn.microsoft.com/en-us/windows/apps/design/input/set-speech-recognition-timeouts)
> End Silence Timeout:
> This timeout is triggered after a phrase has been successfully recognized, and the service waits for further speech input before finalizing the recognition result.
> The EndSilenceTimeout property determines how long the service waits for additional speech after a recognized phrase before concluding that the speech input has ended.
> This timeout can be adjusted to accommodate various speaking styles, allowing for short pauses within a longer phrase without prematurely ending the recognition.
**Describe alternatives you've considered**
No alternatives are known to exist, but please let me know otherwise
**Additional context**
Request originates from work on AI voice assistants where I would like to experiment with slightly reduced end of speech timeouts
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với google/cloud/speech/speech_client và định nghĩa API speech::v1::StreamingRecognizeRequest, sau đó kiểm tra xem Google Speech-to-Text có cung cấp timeout có thể cấu hình cho thời điểm kết thúc lời nói hay không. Hoàn thành khi có thể cấu hình một timeout được hỗ trợ cho nhận dạng streaming và hành vi của nó được xác minh bằng một bài kiểm thử phù hợp.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- cpp, gcp
- Lĩnh vực
- api
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100