Fix french Amazon Polly voice 'Léa'. (#19852)
The accent must be removed (Léa -> Lea) just like the other voices (eg. Celine, Peneloppe) to match with Amazon voices ID. Fun fact: there is no alternative name for "Léa" on Amazon Polly documentation: https://docs.aws.amazon.com/en_us/polly/latest/dg/voicelist.html, probably just omitted. Mitigation: alternative voices (with and without accents) can be put into `SUPPORTED_VOICES`, both `voice.get('Id')` and `voice.get('Name')` must be then checked for a match. This fixes #19802.pull/19868/head
parent
45fae5a50e
commit
ea8bb28d21
|
@ -43,7 +43,7 @@ SUPPORTED_VOICES = [
|
||||||
'Joey', 'Justin', 'Matthew', 'Ivy', 'Joanna', 'Kendra', 'Kimberly',
|
'Joey', 'Justin', 'Matthew', 'Ivy', 'Joanna', 'Kendra', 'Kimberly',
|
||||||
'Salli', # English
|
'Salli', # English
|
||||||
'Geraint', # English Welsh
|
'Geraint', # English Welsh
|
||||||
'Mathieu', 'Celine', 'Léa', # French
|
'Mathieu', 'Celine', 'Lea', # French
|
||||||
'Chantal', # French Canadian
|
'Chantal', # French Canadian
|
||||||
'Hans', 'Marlene', 'Vicki', # German
|
'Hans', 'Marlene', 'Vicki', # German
|
||||||
'Aditi', # Hindi
|
'Aditi', # Hindi
|
||||||
|
|
Loading…
Reference in New Issue