pronouncing each digit indvidually from dialpaln

Neep help editing a voice's lexicon? Want to share your custom lexicon?

pronouncing each digit indvidually from dialpaln

Postby saleh » Sat Dec 14, 2013 6:33 pm

I've a 10 digits telephone number in the dialplan in a variable, say $xyz.
if I use, same=>n,swift("${xyz}), swift pronounces in billion, million etc. How can I tell swift to pronounce each digit individually?
saleh
 
Posts: 4
Joined: Wed Dec 11, 2013 9:13 pm

Re: pronouncing each digit indvidually from dialpaln

Postby Patrick » Mon Dec 16, 2013 10:49 am

Saleh,

You should be able to get the digits read by inserting a comma after each number

from the command line

swift 1,2,3,4,5
gets you one two three four five

whereas
swift 12345
gets twelve thousand three hundred forty five
Patrick Dexter
Dir. Bus. Dev.
Cepstral LLC
User avatar
Patrick
 
Posts: 13
Joined: Fri Jul 11, 2008 1:13 pm
Location: Pittsburgh


Return to Pronunciation

Who is online

Users browsing this forum: No registered users and 2 guests

cron