The results (SpeechRecognitionResult) does not fully match the W3C spec.
Opened this issue · 0 comments
wifisher commented
The results do not currently match the W3C specification.
The isFinal attribute is missing from SpeechRecognitionResult.
The results in the SpeechRecognitionEvent are returned as an array instead of a SpeechRecognitionResultList.
The event types are missing from SpeechRecognitionError and SpeechRecognitionEvent.
For Android, the alternative transcripts are returned as separate results instead of a list of alternatives in a single result.
For iOS, most of the speech recognition events are not generated.
As such, this plugin performs slightly different then, for example, Chrome which is more spec compliant.
I will prepare a pull request to fix most of these issues.