A Period Between to Words
Moderator: Jim Bretti
A Period Between to Words
Periods between two words are sometimes ignored, for example, picEquation.Visible is read as “picEquation Visible”, however, picEquation.visible is read as “picEquation dot visible” which is what I want it to do. Is it reading the .Visible as a new line or sentence? Is there a workaround or should I just make sure the letter after the period is always written lowercase?
-
- Posts: 1558
- Joined: Wed Oct 29, 2003 11:07 am
- Contact:
Re: A Period Between to Words
One possible way to handle this is with a TextAloud pronunciation dictionary entry that uses a regular expression to find periods followed by a letter and replace the period with 'dot'.
Click Control Center -> Pronunciation Dictionary Maintenance to open the dictionary maintenance dialog, select a dictionary (or create a new dictionary) then click File -> New Entry.
For the dictionary entry, set the Text Matching dropdown to Regular Expression, and use this for the expression:
\.(?=[a-z])
Then set the Pronounce Using dropdown to Respell, and use this for the spelling:
<s>dot<s>
<s> is used in the respell string to represent a space character.
Click Control Center -> Pronunciation Dictionary Maintenance to open the dictionary maintenance dialog, select a dictionary (or create a new dictionary) then click File -> New Entry.
For the dictionary entry, set the Text Matching dropdown to Regular Expression, and use this for the expression:
\.(?=[a-z])
Then set the Pronounce Using dropdown to Respell, and use this for the spelling:
<s>dot<s>
<s> is used in the respell string to represent a space character.
Jim Bretti
NextUp.com
NextUp.com
Re: A Period Between to Words
Got it. Thank you. This works great. You are the best. Thank you.