[asterisk-users] Cepstral and numbers

Steve Prior sprior at geekster.com
Mon Mar 19 10:29:41 MST 2007


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

Total 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


More information about the asterisk-users mailing list