Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The results (SpeechRecognitionResult) does not fully match the W3C spec. #111

Open
wifisher opened this issue May 31, 2018 · 0 comments
Open

Comments

@wifisher
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant