<say-as>

<say-as>

<say-as> tags provide contextual hints to the TTS engine about how text should be pronounced.

Attributes

Name

Description

type

Specifies the contextual hint. See TTS Engine Characteristics to view the say-as tag types.

interpret-as

Indicates the content type of the contained text construct (e.g. number, date, time, currency). This attribute is redundent, however, as the <say-as> tag types can do this as well.

format

Gives hints on the precise formatting of the contained text for content types that may have ambiguous formats (e.g. cardinal, ordinal, and digits (for number) and dmy, md, my, and ym (for date)). This attribute is redundent, however, as the <say-as> tag types can do this as well.

sub

This attribute is not supported.

Notes

None

Example

<?xml version="1.0"?>
<vxml version="2.0">
<form>
<block>
<prompt>
Acronym is spelled:
<say-as type="acronym">
acronym
</say-as>
</prompt>
</block>
</form>
</vxml>

The output of the above script would be:

Computer: Acronym is spelled: A-C-R-O-N-Y-M.

Child Tags

<value>

Parent Tags

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