SSML say-as Examples
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
The following table displays examples of say-as using en-US as an example.
say-as |
Example |
How example is read |
---|---|---|
cardinal |
<say-as interpret-as="cardinal">12345</say-as> or <say-as type="cardinal">12345</say-as> |
Twelve thousand three hundred forty five |
number:cardinal |
<say-as interpret-as="number:cardinal">12345</say-as> or <say-as type="number:cardinal">12345</say-as> |
Twelve thousand three hundred forty five |
telephone |
<say-as interpret-as="telephone">123</say-as> or <say-as type="telephone">123</say-as> |
One two three |
letters |
<say-as type="letters">hello</say-as> or <say-as interpret-as="letters">hello</say-as> |
H E L L O |
spell |
<say-as type="spell">hello</say-as> or <say-as interpret-as="spell">hello</say-as> |
H E L L O |
address |
<say-as interpret-as="address">WA</say-as> or <say-as type="address">WA</say-as> |
Washington |
ordinal |
<say-as interpret-as="ordinal">1</say-as> or <say-as type="ordinal">1</say-as> |
first |
number:ordinal |
<say-as interpret-as="number:ordinal">1</say-as> or <say-as type="number:ordinal">1</say-as> |
first |
date_md |
<say-as type="date_md">10.20</say-as> or <say-as interpret-as="date_md">10.20</say-as> |
October Twentieth |
date_md |
<say-as type="date_md">10.20</say-as> or <say-as interpret-as="date_md">10.20</say-as> |
October Twentieth |
date:y |
<say-as type="date:y">1998</say-as> or <say-as interpret-as="date:y">1998</say-as> |
Nineteen ninety eight |
number_digit |
<say-as interpret-as="number_digit">123</say-as> or <say-as type="number_digit">123</say-as> |
One two three |