Plum DEV Documentation
voicexml:tags:say-as

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

voicexml:tags:say-as [2014/05/30 15:13]
jennifer added meta description
voicexml:tags:say-as [2019/09/17 12:29]
Line 1: Line 1:
-{{description>​‹say-as› VoiceXML tag details, attributes and VXML code example | The say-as tag provides contextual pronunciation information to the TTS engine.}} 
-===== <​say-as>​ ===== 
- 
- 
-<​say-as>​ tags provide contextual hints to the TTS engine about how text should be pronounced. 
-====Attributes==== 
-| type | Specifies the contextual hint. See [[http://​www.plumvoice.com/​docs/​dev/​developer_reference:​tts|Section 4, 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==== 
-<​code>​ 
-<?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>​ 
-</​code>​ 
-The output of the above script would be: 
- 
-Computer: Acronym is spelled: A-C-R-O-N-Y-M. 
- 
- 
-====Child Tags==== 
- 
-[[voicexml:​tags:​value|<​value>​]] 
- 
-====Parent Tags==== 
- 
-[[voicexml:​tags:​audio|<​audio>​]],​ [[voicexml:​tags:​emphasis|<​emphasis>​]],​ [[voicexml:​tags:​enumerate|<​enumerate>​]],​ [[voicexml:​tags:​foreach|<​foreach>​]],​ [[voicexml:​tags:​p|<​p>​]],​ [[voicexml:​tags:​paragraph|<​paragraph>​]],​ [[voicexml:​tags:​prompt|<​prompt>​]],​ [[voicexml:​tags:​prosody|<​prosody>​]],​ [[voicexml:​tags:​s|<​s>​]],​ [[voicexml:​tags:​sentence|<​sentence>​]],​ [[voicexml:​tags:​speak|<​speak>​]],​ [[voicexml:​tags:​voice|<​voice>​ 
-]]