Page 1 of 1

Text Capitalization Function

Posted: Mon Aug 20, 2012 11:50 pm
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?

Re: Text Capitalization Function

Posted: Tue Aug 21, 2012 8:44 am
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?

Re: Text Capitalization Function

Posted: Tue Aug 21, 2012 9:51 am
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.

Re: Text Capitalization Function

Posted: Thu Aug 23, 2012 8:23 am
by Jim Bretti
Thanks Percy, I'll look at adding something in a future release.