Text Capitalization Function

Forum for TextAloud version 3

Moderator: Jim Bretti

Post Reply
PHenry1026
Posts: 231
Joined: Thu Jan 11, 2007 12:10 pm
Contact:

Text Capitalization Function

Post by PHenry1026 »

Greetings,

Is it possible to incorporate a Text Capitalization Function on the edit menu that would convert text such as BY DAVID BROOKS to By David Brooks?
Last edited by PHenry1026 on Sun May 12, 2013 5:58 am, edited 2 times in total.
Jim Bretti
Posts: 1558
Joined: Wed Oct 29, 2003 11:07 am
Contact:

Re: Text Capitalization Function

Post by Jim Bretti »

Is this pronunciation related? If so, there may be a way to handle what you're looking for in the pronunciation editor. If you set Pronounce Using to "Respell", you can use a function called ##LowerCase in the respell field, and pass it the text you want converted to lower case. For example, if you have a regular expression set up to match upper case text, you can use something like this as your Respell field:

##LowerCase($0)

You can optionally use the function multiple times in the respell field, like this:

$1 ##LowerCase($2) $3 ##LowerCase($4)

Does this handle the problem you're trying to solve?
Jim Bretti
NextUp.com
PHenry1026
Posts: 231
Joined: Thu Jan 11, 2007 12:10 pm
Contact:

Re: Text Capitalization Function

Post by PHenry1026 »

Greetings Jim,

Yes, this is pronunciation related. I am aware of the ##LowerCase function and utilize it extensively, but for me who reads many New York Times articles a capitalization function would be nice.
Last edited by PHenry1026 on Sun May 12, 2013 5:58 am, edited 2 times in total.
Jim Bretti
Posts: 1558
Joined: Wed Oct 29, 2003 11:07 am
Contact:

Re: Text Capitalization Function

Post by Jim Bretti »

Thanks Percy, I'll look at adding something in a future release.
Jim Bretti
NextUp.com
Post Reply