<sentence>

<sentence>

The <sentence> tag tells the TTS engine to change the prosody to reflect the end of a sentence, regardless of the surrounding punctuation.

The <sentence>tag can be abbreviated as <s>.

Attributes

NameData typeDescription

xml:lang

String

Can be set to “en_us” or “fr_fr”.

Notes

None

Example

<?xml version="1.0" encoding="utf-8"?>
<vxml version="2.0">
  <form>
    <block>
      <prompt>
        <sentence>
          Here's one sentence.
        </sentence>
        <sentence xml:lang="fr-CA">
          Voici un autre phrase en français.
        </sentence>
      </prompt>
    </block>
  </form>
</vxml>

The output of the above script would be: (Note: This example uses Nuance RealSpeak 4.0 as the TTS Engine)

Computer: Here's one sentence. Computer: (in French) Voici une phrase en français.

Child Tags

<audio>, <break>, <emphasis>, <enumerate>, <mark>, <phoneme>, <prosody>, <say-as>, <speak>, <sub>, <value>, <voice>

Parent Tags

<audio>, <enumerate>, <foreach>, <paragraph>, <prompt>, <prosody>, <speak>, <voice>

Last updated