Custom pronounciation of "m" - Meters vs. millions

Forum for TextAloud version 3

Moderator: Jim Bretti

Post Reply
kudos
Posts: 8
Joined: Thu May 13, 2010 7:41 am
Contact:

Custom pronounciation of "m" - Meters vs. millions

Post by kudos »

I use TA to read a lot of articles containing population and financial amounts where the use of the suffix "m" stands for "million" (e.g., 320m). However, by default, I've noticed that TA reads "m" when suffixed to another number as "meters".

I've encountered this annoyance since TA2 and am not sure how to go about fixing it. I tried to fix it in the pronounciation editor in TA2 but couldn't find a way where the "m" is suffixed to a number.

Is there any way to do this in TA3?
Jim Bretti
Posts: 1558
Joined: Wed Oct 29, 2003 11:07 am
Contact:

Re: Custom pronounciation of "m" - Meters vs. millions

Post by Jim Bretti »

You can use the pronunciation editor to handle this. Under the Tools menu, click Pronunciation Dictionary Maintenance. You'll want to add a dictionary entry that uses a regular expression (pattern match) to look for the letter m suffixed to 1 or more numbers.

The entry would look like this:

Text Matching: Regular Expression: (\d+)m
Pronounce Using: Respell: $1 million

Let me know if you have trouble getting that to work.
Jim Bretti
NextUp.com
kudos
Posts: 8
Joined: Thu May 13, 2010 7:41 am
Contact:

Re: Custom pronounciation of "m" - Meters vs. millions

Post by kudos »

Good stuff. Works perfectly, Jim. Thank you.
Post Reply