Does anyone have any idea on how to force cepstral to convert a number to speech ? I have noticed that sometimes it speaks the number correctly, and at others it doesn't. 1) 787 is pronounced 7-8-7 2) 123 is pronounced one-hundred and twenty-three. 1) is wrong for what i need, 2) is perfect. Is there anyway of forcing numbers to be pronounced as 2) ? I've tried looking at the ssml tags .. TIA Julian
Oh man - the second I send this, I find the answer. <say-as type="currency">12345.44</say-as> Sorry for the waste of bandwidth. Julian Julian Lyndon-Smith wrote:> Does anyone have any idea on how to force cepstral to convert a number > to speech ? > > I have noticed that sometimes it speaks the number correctly, and at > others it doesn't. > > 1) 787 is pronounced 7-8-7 > 2) 123 is pronounced one-hundred and twenty-three. > > 1) is wrong for what i need, 2) is perfect. > > Is there anyway of forcing numbers to be pronounced as 2) ? > > I've tried looking at the ssml tags .. > > TIA > > Julian > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > ______________________________________________________________________ > This email for dotr.com has been scanned by MessageLabs > ______________________________________________________________________ > >
Julian Lyndon-Smith wrote:> Does anyone have any idea on how to force cepstral to convert a number > to speech ? > > I have noticed that sometimes it speaks the number correctly, and at > others it doesn't. > > 1) 787 is pronounced 7-8-7 > 2) 123 is pronounced one-hundred and twenty-three. > > 1) is wrong for what i need, 2) is perfect. > > Is there anyway of forcing numbers to be pronounced as 2) ? > > I've tried looking at the ssml tags .. > > TIA > > JulianTotal guess on my part, but by any chance does it use 1) if the number isn't separated by whitespace from something preceeding it, but 2) if it is? This would make a traffic report for example read correctly: The traffic on I-84 is moving at 60 MPH. Where you'd want I-84 read using 1) and 60 using 2) Steve
Julian Lyndon-Smith wrote:> Does anyone have any idea on how to force cepstral to convert a number > to speech ? > > I have noticed that sometimes it speaks the number correctly, and at > others it doesn't. > > 1) 787 is pronounced 7-8-7 > 2) 123 is pronounced one-hundred and twenty-three. >You could probably place dots between the numbers if you want to say each number individually. Swift.PlayString('1.2.3.4.', false); -- Warm Regards, Lee