Page 1 of 1

Skipping URLs, words or text

Posted: Fri Feb 18, 2011 5:41 pm
by uaflyer
I use the product for School.

It seems efficient if I can make it skip entire URLs and things like footnotes and chapter references that have recurring format.

I have been able to screen some URLs, bot it still reads the tail end. It should be able to skip the whole item since its continuous.

Just have not figured out how so far.

I not only use this as a screen reader, but also read chapters into MP3 for additional review and re-enforcement.

Re: Skipping URLs, words or text

Posted: Fri Feb 18, 2011 6:03 pm
by SFCurley
Try creating three separate regex pronunciation editor entries -- one for each of the following, and setting the pronunciation be <s>

(http:[\\/]{2})*w{0,4}?\.?([-\w]+)\.(com|net|org|gov|biz|us|cc|info|edu)([%?&A-Za-z0-9\/+=,._-]*)
(http:[\\/]{2})*([-\w]+)?\.?([-\w]+)\.(com|net|org|gov|biz|us|cc|info|edu)([%?&A-Za-z0-9\/+=,._-]*)
(http:[\\/]{2})*([-\w]+)?\.?([-\w]+)\.([-\w]+)\.(com|net|org|gov|biz|us|cc|info|edu)([%?&A-Za-z0-9\/+=,._-]*)

Re: Skipping URLs, words or text

Posted: Fri Feb 18, 2011 6:26 pm
by uaflyer
I am not clear on how to add these, as there are many options and drop boxes.
Can someone provide general steps ?

I think if there was an html code to skip text it could be useful on web pages and PDFs.

Maybe also something else, but this way it could be encoded by the author so I don't need to.

Re: Skipping URLs, words or text

Posted: Fri Feb 18, 2011 7:00 pm
by SFCurley
From TextAloud main window, select Tools | Pronunciation Editor Maintenance
Select Dictionary you want to add to, or create a new dictionary if none exists, and then select that one.
From File Menu drop down (still in Pronunciation Dictionary Maintenance), click on "New Entry"
In Text Matching box, select Regular Expression
Paste one of the three regular expressions I posted into the text box next to Text Matching
Leave the * in Language, Vendor and Voice fields
In the Pronounce Using: box, select "Skip Text" option (this replaces the <s> I posted)
Click on the OK button.

Do the same for the other two regular expressions I posted.

Re: Skipping URLs, words or text

Posted: Sat Feb 19, 2011 5:15 pm
by uaflyer
Thanks for the instructions.

Okay this only sorta worked.

I put additional entries for https as well.
It skips most of the URL, but reads like the last part.

Is there a guide for wildcards somewhere :P

Cheers

Re: Skipping URLs, words or text

Posted: Sun Feb 20, 2011 1:05 am
by SFCurley
It's probably a little more complicated than just saying "wildcards". Can you post a couple of example URLs that aren't being completely picked up by the regular expressions I posted and I'll see if I can modify the regex to accoint for that?