Hello,
How do i programme the TTS to say currency. at the moment, TTS says for example 1,000.00 as one zero zero zero instead of one thousand.
How do i achieve the say as currency?
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
SAY AS Currency not working
IVR application and use of $ for reading currency
Hello,
When using the IVR system, if you include the $ sign at the beginning of something you want read as currency the TTS engine will often read it back automatically, however you can give it a hint using the <say-as> tag:
This should indicate to the TTS engine that you want the contents of the <say-as> tag read as currency.
Regards,
Plum Support
When using the IVR system, if you include the $ sign at the beginning of something you want read as currency the TTS engine will often read it back automatically, however you can give it a hint using the <say-as> tag:
Code: Select all
<say-as type=”currency”>$25.32</say-as>
Regards,
Plum Support
Last edited by support on Wed Jan 13, 2010 3:45 pm, edited 2 times in total.
-
- Posts: 5
- Joined: Mon Jun 05, 2006 10:05 pm
IVR application and use of $ for reading currency
IVR developers do not recommend using the currency tag without the $ sign because the <say-as> tag varies based on the TTS engine while also being intended to handle multiple currency types.
Last edited by support on Wed Jan 13, 2010 3:46 pm, edited 2 times in total.
-
- Posts: 84
- Joined: Wed Apr 04, 2007 4:58 pm
how are you inserting data into IVR script
Hello,
How are you inserting the data into your VoiceXML script? If you are using the <var> or <assign> tag you should make sure to put that value in single quotes:
This will force the data to be stored as a string and will prevent the IVR system from attempting to parse the data as if it were a floating point number.
Regards,
Plum Support
How are you inserting the data into your VoiceXML script? If you are using the <var> or <assign> tag you should make sure to put that value in single quotes:
Code: Select all
<var name="amount" expr="'50.30'"/>
Regards,
Plum Support
Last edited by support on Wed Jan 13, 2010 3:48 pm, edited 2 times in total.
-
- Posts: 84
- Joined: Wed Apr 04, 2007 4:58 pm