-
Notifications
You must be signed in to change notification settings - Fork 36
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
Update the on-device speech recognition methods #143
base: main
Are you sure you want to change the base?
Conversation
@padenot - Can you please take a look at this PR when you get a chance? Thanks! |
index.bs
Outdated
1. If the on-device speech recognition language pack for <var>lang</var> is unsupported, return {{AvailabilityStatus/unavailable}}. | ||
1. If the on-device speech recognition language pack for <var>lang</var> is supported but not installed, return {{AvailabilityStatus/downloadable}}. | ||
1. If the on-device speech recognition language pack for <var>lang</var> is downloading, return {{AvailabilityStatus/downloading}}. | ||
1. If the on-device speech recognition language pack for <var>lang</var> is installed, return {{AvailabilityStatus/available}}. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When do we know it has finished downloading?
Sorry to be picky, but I think it's good to get things right from the get-go to get the ball rolling on the first few PRs. Apart from the "when do we know downloading has finished", my comments are on the form rather than the substance of the PR, but unfortunately that matters in normative writing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Way better, still some comments.
How does one know that the model has finished downloaded?
From above: What are your thoughts on either:
|
This CL updates the return type of the availableOnDevice API to reflect the spec changes in this PR: github.com/WebAudio/web-speech-api/pull/143 Bug:40286514 Change-Id: I66e4a18e5cdaf262cecd847eca6b2205618028ef
FYI https://github.com/webmachinelearning/prompt-api?tab=readme-ov-file#download-progress may be of interest for this group. |
This CL updates the return type of the availableOnDevice API to reflect the spec changes in this PR: github.com/WebAudio/web-speech-api/pull/143 Bug: 40286514 Change-Id: I66e4a18e5cdaf262cecd847eca6b2205618028ef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6299973 Reviewed-by: Tom Sepez <[email protected]> Commit-Queue: Evan Liu <[email protected]> Cr-Commit-Position: refs/heads/main@{#1429100}
This CL updates the return type of the availableOnDevice API to reflect the spec changes in this PR: github.com/WebAudio/web-speech-api/pull/143 Bug: 40286514 Change-Id: I66e4a18e5cdaf262cecd847eca6b2205618028ef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6299973 Reviewed-by: Tom Sepez <[email protected]> Commit-Queue: Evan Liu <[email protected]> Cr-Commit-Position: refs/heads/main@{#1429100}
This CL updates the return type of the availableOnDevice API to reflect the spec changes in this PR: github.com/WebAudio/web-speech-api/pull/143 Bug: 40286514 Change-Id: I66e4a18e5cdaf262cecd847eca6b2205618028ef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6299973 Reviewed-by: Tom Sepez <[email protected]> Commit-Queue: Evan Liu <[email protected]> Cr-Commit-Position: refs/heads/main@{#1429100}
Closes #141
This PR contains the following changes:
Preview | Diff