Open
Description
Following up on the implementation of voices()
, we'll be in a position to also work on languages()
where the standardized output should be:
language
as a BCP-47 language tagcount
as the number of available voices for that language
As pointed out in #2, we'll need to be extra careful with the format for language
since some browsers do not return proper BCP-47 language tags.
For the output, we can leverage the list of voices returned by voices()
to list all languages and calculate a count.
We can also implement the following filters for this method:
- quality, which would be a minimum required
- recommended voices (a boolean)
- and offline availability (a boolean)
The default should be the same than voices()
which means that quality is set to low
as the minimum, we don't filter exclusively on recommended voices and we don't filter out voices that require the user to be online.
Metadata
Metadata
Assignees
Type
Projects
Status
In review