是否可以根据单词类型告知对话单词发音?

发布于 2025-01-25 07:25:48 字数 72 浏览 4 评论 0 原文

是否有任何类型的对话屏幕读取器标记来告知TTS如何根据其类型发音?例如,“读”在过去或现在时发音?还是“低音”被发音为鱼类或乐器?

Is there any sort of TalkBack screen reader markup to inform the TTS how to pronounce a word based on it's type? For example, 'read' pronounced in past or present tense? Or 'bass' being pronounced as a fish or musical instrument?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

丶视觉 2025-02-01 07:25:48

也许,取决于您使用的小部件的类型。 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 a contentDescription 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文