Skip to content

Commit 386b921

Browse files
authored
Update unspoken-punctuation.md
1 parent cb93e85 commit 386b921

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

explainers/unspoken-punctuation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ Instead of introducing the new `unspokenPunctuation` configuration option, we co
6262

6363
By introducing this as an opt-in boolean attribute, we maintain stability for existing applications while providing the flexibility modern developers need. This approach also follows strong industry precedent; major speech recognition providers, such as [Azure Speech Service](https://learn.microsoft.com/en-us/azure/ai-services/speech-service/display-text-format?pivots=programming-language-python) and [Google Cloud Speech-to-Text](https://docs.cloud.google.com/speech-to-text/docs/automatic-punctuation), similarly implement automatic punctuation as a configurable option rather than a forced default.
6464

65-
### Note on Automatic Capitalization
65+
## Implementation Notes
66+
67+
### Automatic Capitalization
6668
In many modern speech-to-text engines, automatic punctuation is tightly coupled with automatic capitalization. When `unspokenPunctuation` is set to `true`, developers should expect that the underlying recognition engine may also automatically capitalize the first word following an inferred sentence-ending punctuation mark (e.g., a period or question mark). Because this behavior depends on the specific platform and OS implementation, developers should not assume the resulting text will remain strictly lowercase when this flag is enabled.
6769

6870
### Internationalization

0 commit comments

Comments
 (0)