如何让 Alexa 说出 phone 个数字
How to make Alexa speak phone number
我希望 Alexa 将 phone 数字说成数字而不是它的值。
例如:
[Alexa] the contact number is 9 8 7 6 5 4 3 2 1 0.
但现在 Alexa 说
the contact number is nine billion eight hundred seventy six million
five hundred forty three thousand two hundred ten
谢谢
使用 SSML 的 say-as
标签的 interpret-as="telephone"
属性将号码解释为电话号码phone。
例如:
<speak>
the contact number is <say-as interpret-as="telephone"> 9876-543-210 </say-as>
</speak>
interpret-as="telephone"
会将值解释为 7 位或 10 位电报phone 号码。这也可以处理扩展名(例如,2025551212x345)。
在 phone 数字之间加入“-”总是一个好主意,以便在说数字时中断。
有关 SSML 的更多信息 here
我希望 Alexa 将 phone 数字说成数字而不是它的值。
例如:
[Alexa] the contact number is 9 8 7 6 5 4 3 2 1 0.
但现在 Alexa 说
the contact number is nine billion eight hundred seventy six million five hundred forty three thousand two hundred ten
谢谢
使用 SSML 的 say-as
标签的 interpret-as="telephone"
属性将号码解释为电话号码phone。
例如:
<speak>
the contact number is <say-as interpret-as="telephone"> 9876-543-210 </say-as>
</speak>
interpret-as="telephone"
会将值解释为 7 位或 10 位电报phone 号码。这也可以处理扩展名(例如,2025551212x345)。
在 phone 数字之间加入“-”总是一个好主意,以便在说数字时中断。
有关 SSML 的更多信息 here