本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
<amazon:domain name="news">
新聞播報員風格僅適用於 Matthew 或 Joanna 語音,這些語音僅提供美式英文 (en-US)、Lupe、美式西班牙文 (es-US) 和 Amy、英式英文 (en-GB)。只有使用 Neural
格式時才支援。
若要使用新聞播報員風格,請使用 SSML 標籤和下列語法:
<amazon:domain name="news">
text
</amazon:domain>
例如,您可以將新聞播報員風格與 Amy 語音搭配使用,如下所示:
<speak> <amazon:domain name="news"> From the Tuesday, April 16th, 1912 edition of The Guardian newspaper: The maiden voyage of the White Star liner Titanic, the largest ship ever launched, has ended in disaster. The Titanic started her trip from Southampton for New York on Wednesday. Late on Sunday night she struck an iceberg off the Grand Banks of Newfoundland. By wireless telegraphy she sent out signals of distress, and several liners were near enough to catch and respond to the call. </amazon:domain> </speak>