gpt4 book ai didi

ios - 如何获取我在 iPhone 上使用的 Siri 的 AVSpeechSynthesisVoice 标识符?或者我怎样才能让一个人正确地发音?

转载 作者:行者123 更新时间:2023-11-28 07:26:07 25 4
gpt4 key购买 nike

所有的声音对我来说都是无用的,因为它们不能正确地发音。

尝试了各种声音和组合都没有成功:

var Voice = AVSpeechSynthesisVoice(identifier: "com.apple.ttsbundle.Karen_female_en-AUS_compact")

似乎没有一个可以正确发音的声音。例如:鳄梨酱

最佳答案

阅读您的问题,我猜您正在寻找正确的发音。我不知道 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

关于ios - 如何获取我在 iPhone 上使用的 Siri 的 AVSpeechSynthesisVoice 标识符?或者我怎样才能让一个人正确地发音?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56573207/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com