所有声音对我来说都是无用的,因为它们无法正确发音。
尝试了各种声音和组合,但没有出现运气:
var Voice = AVSpeechSynthesisVoice(identifier: "com.apple.ttsbundle.Karen_female_en-AUS_compact")
似乎没有声音可以正确发音。例如:guacamolé
。
答案 0 :(得分:0)
在阅读您的问题时,我想您正在寻找正确的发音。我不知道gucamolé
是哪种语言,但是也许使用正确的语言可以正确发音吗?
尝试检查此 https://daddycoding.com/2019/06/06/ios-tutorials-make-your-phone-read-with-avspeechsynthesizer/
当前仅支持这些语言
Arabic (Saudi Arabia) - ar-SA
Chinese (China) - zh-CN
Chinese (Hong Kong SAR China) - zh-HK
Chinese (Taiwan) - zh-TW
Czech (Czech Republic) - cs-CZ
Danish (Denmark) - da-DK
Dutch (Belgium) - nl-BE
Dutch (Netherlands) - nl-NL
English (Australia) - en-AU
English (Ireland) - en-IE
English (South Africa) - en-ZA
English (United Kingdom) - en-GB
English (United States) - en-US
Finnish (Finland) - fi-FI
French (Canada) - fr-CA
French (France) - fr-FR
German (Germany) - de-DE
Greek (Greece) - el-GR
Hindi (India) - hi-IN
Hungarian (Hungary) - hu-HU
Indonesian (Indonesia) - id-ID
Italian (Italy) - it-IT
Japanese (Japan) - ja-JP
Korean (South Korea) - ko-KR
Norwegian (Norway) - no-NO
Polish (Poland) - pl-PL
Portuguese (Brazil) - pt-BR
Portuguese (Portugal) - pt-PT
Romanian (Romania) - ro-RO
Russian (Russia) - ru-RU
Slovak (Slovakia) - sk-SK
Spanish (Mexico) - es-MX
Spanish (Spain) - es-ES
Swedish (Sweden) - sv-SE
Thai (Thailand) - th-TH
Turkish (Turkey) - tr-TR