Skip to content

Commit ad3b131

Browse files
Add use cases to the explainer (#154)
Co-authored-by: Evan Liu <evliu@google.com>
1 parent af3de99 commit ad3b131

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

explainers/on-device-speech-recognition.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ Local processing reduces latency, providing a smoother and faster user experienc
2121
### 3. **Offline Functionality**
2222
Applications can offer speech recognition capabilities even without an active internet connection, increasing their utility in remote or low-connectivity environments.
2323

24+
## Example use cases
25+
### 1. Company with data residency requirements
26+
Websites with strict data residency requirements (i.e., regulatory, legal, or company policy) can ensure that audio data remains on the user's device and is not sent over the network for processing. This is particularly crucial for compliance with regulations like GDPR, which considers voice as personally identifiable information (PII) as voice recordings can reveal information about an individual's gender, ethnic origin, or even potential health conditions. On-device processing significantly enhances user privacy by minimizing the exposure of sensitive voice data.
27+
28+
### 2. Video conferencing service with strict performance requirements (e.g. meet.google.com)
29+
Some websites would only adopt the Web Speech API if it meets strict performance requirements. On-device speech recognition may provide better accuracy and latency as well as provide additional features (e.g. contextual biasing) that may not be available by the cloud-based service used by the user agent. In the event on-device speech recognition is not available, these websites may elect to use an alternative cloud-based speech recognition provider that meet these requirements instead of the default one provided by the user agent.
30+
31+
### 3. Educational website (e.g. khanacademy.org)
32+
Applications that need to function in unreliable or offline network conditions—such as voice-based productivity tools, educational software, or accessibility features—benefit from on-device speech recognition. This enables uninterrupted functionality during flights, remote travel, or in areas with limited connectivity. When on-device recognition is unavailable, a website can choose to hide the UI or gracefully degrade functionality to maintain a coherent user experience.
33+
2434
## New Methods
2535

2636
### 1. `Promise<boolean> availableOnDevice(DOMString lang)`

0 commit comments

Comments
 (0)