cloudyr / aws.polly

Client for AWS Polly
https://cloud.r-project.org/package=aws.polly
23 stars 6 forks source link

list_voices should list all voices #11

Closed antoine-sachet closed 2 years ago

antoine-sachet commented 4 years ago

Currently, list_voices() lists by default only American English voices. It is not necessarily obvious that aws.polly actually supports a lot more languages. (see e.g. #10)

To find other voices, one has to either use list_voices(language = NULL) to list all voices (#5), or know the language code.

I find this not only unintuitive but needlessly US-centric.

I therefore propose that list_voices() should list all available voices by default (61 at the time of writing). US English voices will still be available with list_voices(language = "en-US").

I'll leave this for a while in case anyone wants to give some feedback.