- 최신
- 최다 투표
- 가장 많은 댓글
Hi,
To most easily get "live" (rhyming with "dive"), you can use:
<w role="amazon:NN">live</w>
And to get "live" (rhyming with "give"), you can use:
<w role="amazon:VB">live</w>
The role amazon:SENSE_0 won't work. The sense roles are numbered starting from amazon:SENSE_1. They are also typically used to disambiguate pronunciations that couldn't be done via part of speech, (e.g. "bass" as in the frequency range/guitar, or "bass" as in the fish). So the sense roles wouldn't help here.
Regarding the <phoneme> tag, to get the equivalent of <w role="amazon:NN">live</w> (rhyming with "dive"), the following would be the canonical ways to do so:
<phoneme alphabet="ipa" ph="ˈlaɪv">live</phoneme>
<phoneme alphabet="x-sampa" ph=""laIv">live</phoneme>
For the equivalent of <w role="amazon:VB">live</w> (rhyming with "give"), the following would be the canonical ways to do so:
<phoneme alphabet="ipa" ph="ˈlɪv">live</phoneme>
<phoneme alphabet="x-sampa" ph=""lIv">live</phoneme>
The IPA primary stress mark character ˈ does not need to be escaped because it is not the same as the single quote character '.
However, with X-SAMPA, the primary stress marker is the double quote, so it would have to be replaced in a double-quoted shell command using the equivalent XML entity: "
For the inconsistency between the CLI and the console, thank you for reporting that. I was unable to reproduce it on my end. Despite this, the suggestions I provided above should adequately provide you the synthesis you're looking for.
Edited by: anton-at-aws on Apr 10, 2020 7:28 AM
Thank you!! This is really helpful!! It is nice to know that amazon:NN exists. The Supported SSML Tags page in the documentation only lists VB and VBD.
Edited by: sharonhuston on Apr 10, 2020 9:17 AM
Edited by: sharonhuston on Apr 10, 2020 9:17 AM
관련 콘텐츠
- AWS 공식업데이트됨 8달 전