是否可以根据单词类型告知对话单词发音?
是否有任何类型的对话屏幕读取器标记来告知TTS如何根据其类型发音?例如,“读”在过去或现在时发音?还是“低音”被发音为鱼类或乐器?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
是否有任何类型的对话屏幕读取器标记来告知TTS如何根据其类型发音?例如,“读”在过去或现在时发音?还是“低音”被发音为鱼类或乐器?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
也许,取决于您使用的小部件的类型。
android:contentDescription
'寻找。但是我会不是建议尝试以某种方式宣布屏幕阅读器。如果您要宣布为过去时宣布的“读取”,并且您有一个contentDescription
“ red”,而使用 sound 在使用屏幕读取器时,则不会如果使用盲文设备,请正确阅读。用户将在盲文字母而不是“ rea d”中读取“ re d”,这会令人困惑。Maybe, depending on the type of widget you're using.
android:contentDescription
might be what you're looking for. But I would not recommend trying to force the screen reader to announce something a certain way. If you want "read" announced as past tense and you have acontentDescription
of "red", while that might sound correct when using a screen reader, it will not read correctly if using a Braille device. The user will read "r e d" in Braille letters instead of "r e a d" and that will be confusing.