capacitor-community / capacitor-community/speech-recognition
feat: onFinished event for the last result recognition
- Dominant language
- Java
- Stars
- 130
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
I don't see a way to detect the last recognition, once you start getting results there is no way to detect the last inference,
`SpeechRecognition.addListener('partialResults', async (data: any) => {
})`
I would like either an event for finished Results or the same partialResults event can emit a property when is the last results
I'm trying the tricky solution that is to set a timer, when you don't receive partial Results after some time, you know it has finished
Contributor guide
Research direction
Start at the SpeechRecognition.addListener('partialResults') entry point described in the issue and inspect how recognition results are exposed. Define completion behavior for the final recognition and verify that the chosen event or result property reliably signals when recognition has finished.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100