Skip to content

Commit

Permalink
doc: 6.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sowens-csd committed Oct 24, 2023
1 parent 72bbc6a commit 9784327
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion speech_to_text/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@

## 6.4.0

### New
### Fix
* Fix web handling of alternates and multiple phrases was incorrect. Before this change
multiple phrases were being seen as alternates. This properly combines those phrases into
a single set of recognized words and produces alternates as appropriate.

* Android 33+ now returns a valid list from `locales`. It returns the supported on device
languages. This is (probably) smaller than the full list of online languages but better than
the current list that only has the default language in it. It also seems to be the only
option that's available.

## 6.3.0

### New
Expand Down
5 changes: 5 additions & 0 deletions speech_to_text/lib/speech_to_text.dart
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,11 @@ class SpeechToText {
/// identifier for the locale as well as a name for
/// display. The name is localized for the system locale on
/// the device.
///
/// Android: The list of languages is based on the locales supported by
/// the on device recognizer. This list may not be the complete list of
/// languages available for online recognition. Unfortunately there is no
/// way to get the list of languages supported by the online recognizer.
Future<List<LocaleName>> locales() async {
if (!_initWorked) {
throw SpeechToTextNotInitializedException();
Expand Down

0 comments on commit 9784327

Please sign in to comment.