mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-05 22:53:38 +00:00
Support the new voices.
This commit is contained in:
@@ -127,8 +127,11 @@ public class SpeechSynthesis {
|
||||
// 'west' is not a country code.
|
||||
locale = new Locale("hy", "", "arevmda");
|
||||
} else if (name.equals("vi-hue")) {
|
||||
// 'hue' is not a country code, so treat it as a variant code.
|
||||
// 'hue' is for the Hue Province accent/dialect (Central Vietnamese).
|
||||
locale = new Locale("vi", "", "hue");
|
||||
} else if (name.equals("vi-sgn")) {
|
||||
// 'sgn' is for the Saigon accent/dialect (South Vietnamese).
|
||||
locale = new Locale("vi", "", "saigon");
|
||||
} else if (name.equals("zh-yue")) {
|
||||
// Android/Java does not support macrolanguages.
|
||||
locale = new Locale("zh", "HK");
|
||||
|
||||
Reference in New Issue
Block a user