Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

谁能帮忙介绍一下词典功能怎么使用么? #118

Open
zxssaa opened this issue Oct 17, 2022 · 2 comments
Open

谁能帮忙介绍一下词典功能怎么使用么? #118

zxssaa opened this issue Oct 17, 2022 · 2 comments

Comments

@zxssaa
Copy link

zxssaa commented Oct 17, 2022

词典功能是要自己建立一个词典文件么?
如果是一个文件,那这个文件存放在什么位置?
我看最新更新说明举例了词典规则,但是不明白怎么用。

@chokhocheung
Copy link

zxssaa:

那個文件是:/Android/data/me.ag2s.tts/files/dict.txt
它裏面有一些範例的。

它能讓我們自訂字詞發音,音標的用法在微軟官網有詳細描述:
https://learn.microsoft.com/zh-hk/azure/cognitive-services/speech-service/speech-ssml-phonetic-sets

不同locale的語音要用不同的音標的,例如zh-cn的要用漢語拼音。但是如果選了灣灣語音,則只能認注音符號,不能用漢語拼音的。用錯了音標的話會令朗讀失敗的。

ag2s20150909大神:

如果能在UI提供dict.txt編輯畫面和簡單的說明的話,相信會更好用的。此外,能否考慮支持多locale,比如分別去指定字詞在普通話/粵語/灣灣的發音?

@zxssaa
Copy link
Author

zxssaa commented Oct 25, 2022

谢谢你的解答。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants