VoiceGuide IVR Software Main Page
Jump to content

Number-To-Speech In Spanish

Recommended Posts

VoiceGuide converts 100s to speech by playing a digit, then the word "hundred", then the remaining numbers (if any).

 

For example, for the number 201 it plays the following files:

- two.wav

- hundred.wav

- and.wav

- one.wav

 

Unfortunately, this scheme doesn't work in Spanish, for two reasons:

1. Different words for 100, 200, 300, etc. They are Cientos, Doscientos, Trecientos etc.

2. Different words for 100 and 100-and-N. The former is Cient, and the latter is Cientos y uno.

 

This is causing problems with localizing my prompts. Spanish speakers tell me they don't understand my numbers.

 

(There are different problems in other languages, but I won't get into it right now because it isn't an immediate need).

Share this post


Link to post

VoiceGuide allows users to change the way that the Say Number module generates the WAV file strings to be played. Existing functions can be changed and new functions can be added.

 

From http://www.voiceguide.com/vghelp/source/html/modsaynumber.htm :

 

Changing the way Say Number module speaks numbers

 

Users can edit the way in which the numbers are spoken, or even add their own Say Number functions.

 

In VoiceGuide v5 and v6 the way the numbers are spoken can be changed by editing the file: lib_num2wav.vbs located in VoiceGuide's \system\vbs\ subdirectory. This is useful if it is required to say numbers/amounts in a language other then English. Please read the lib_num2wav.vbs file for more information.

 

In VoiceGuide v7 a DLL file is used to generate the list of WAV files needed to speak the number. The DLL is called vgLib_SayNumbers.dll and is located in VoiceGuide's \system\dll\ subdirectory. The source code and full VS2005 C# project required to build the DLL can be found in this VoiceGuide subdirectory: \system\dll\Source\vgLib_SayNumbers. After building the new DLL just place it in VoiceGuide's \system\dll\ subdirectory and restart VoiceGuide in order for VoiceGuide to start using the new DLL.

 

In VoiceGuide v7 you can also select to have the system use the the lib_num2wav.vbs to generate the spoken number by changing the VG.INI file setting. In VG.INI, section [moduleSayNumbers], change the entry WavListGenerator from DLL to VBScript.

 

If you have problems making these modifications please let us know your requirements in detail and post the VBSscript/C# project we can then assist in these modifications.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×