On Jan 19, 2007, at 5:18 PM, Chuck Pelto wrote:
On Jan 19, 2007, at 3:13 PM, Chuck Pelto wrote:
On Jan 18, 2007, at 5:30 PM, Michael Rebar wrote:
You could also use regular expressions. It can locate word
boundaries with
reasonable accuracy.
Google 'regex word list word boundary' or 'regex word list'
This can also get quite complex. For example:
* periods aren't accurate word boundaries
* commas aren't accurate word boundaries
* hyphens might be accurate word boundaries
You might have to maintain a dictionary/corpus against which to
compare for
validity.
Michael
Interesting report. I'll have to look into this more deeply, as
I'm not familiar with RegEx. But seeing that it is built into RB
and looks rather powerful, it might serve my purposes....if I can
warp my mind around it [transposition fully intended ;.-) ]
Which brings up a question....
WHERE CAN I GET A GOOD REFERENCE, w/examples, TO TEACH MYSELF ABOUT
REGEX?
_______________________________________________
Get a copy of "Mastering Regular Expressions" by Jeffrey Friedl.
Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>