Skipping Text in an Article

Moderator: Jim Bretti

Post Reply
Jim Bretti
Posts: 1558
Joined: Wed Oct 29, 2003 11:07 am
Contact:

Skipping Text in an Article

Post by Jim Bretti »

You can use TextAloud's Pronunciation Dictionary Maintenance to specify text in an article that should be skipped (not spoken). Examples of such text include source references, case numbers in legal documents, or other "comments" in the text that should not be spoken. Basically it involves the following steps:

* Run Pronunciation Dictionary Maintenance and create a dictionary entry that uses a regular expression to find text that should be skipped.

* Set the "Pronounce Using" dropdown for the dictionary entry to "Skip Text"

As an example, assume that you want to ignore any text enclosed in either in square brackets *or* parentheses. The idea is to set up a regular expression that will find these text strings.

To do this, go to the TextAloud main window and from the menu, click Tools -> Pronunciation Dictionary Maintenance. Set the Text Matching dropdown to "Regular Expression", and use this as the expression:

Code: Select all

[\(\[].+?[\)\]]
Set the Pronounce Using dropdown to "Skip Text" and click OK to save the entry.

Note that the parentheses and bracket characters have meaning inside a regular expression, they must be 'escaped' with the \ character in order to be treated as characters to match on.

Brackets in a regular expression are used to specify multiple characters to match on. In this case the first set of brackets matches either an open parenthesis character or an open square bracket character. The second set of brackets matches either a close parenthesis or close square bracket character.

If you have any questions or have problems getting this to work, send an email to support@nextup.com
Jim Bretti
NextUp.com
Post Reply