@jtrosky that is a very good point. There are many ways to do this, but unfortunately the easiest is to direct substitute. That is what I did when I tested a 15th Street on MyWay (old voice format) and it works ok. I don't have any street less than 10th in my area to test.
@chas521 the direct substitution should work, but it will a pain to do for hundred of 'th streets. I think we need to solicits expert on how to do it "correctly" via pattern matching.
We first have to id where street name are checked. Separate the difference between "direction" and "street name" passed to the TTS engine. Then we have to make sure that it's correct format: <number><st,nd,rd,th><whitespaces><street,drive,...> then substitute correct pattern (1 -> one, 101 -> one hundred and one, etc...)
Update: I found a voice file that works. It has config_transforms.lua defined
Code:
Please Login or Register to see the links
It uses the following but I commented out the first pattern
Code:
Please Login or Register to see the links
Now I'm trying to figure out how to prevent "N Ave" from being pronounced as "North Ave"
Bookmarks