On Jan 18, 2007, at 7:40 AM, Octave Julien wrote:


Le 18 janv. 07, à 14:47, Chuck Pelto a écrit :

Is anyone familiar with a way to get all the words out of a string as succinct elements?

Regards,

Chuck

If by 'succinct elements' you mean words separated by spaces, the split function will do the work. But if you're working on a text, the words will often be separated by dots, coma, and other delimiters. You would need to run the split function too many times to separate sentences (delimited with dots) into sub sentences (delimited by comas) and then into words (delimited by spaces). I couldn't find any plug-in to get the words out of a text in a straightforward and easy way. (Personal note : I'm interrested in lexicography (statistics applied to texts), if anyone shares the same interest, please let me know if you know any RB plug-ins or any application (free and running on a Mac) for that kind of work.)

Applescript can break text into words very nicely


_______________________________________________
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>

Reply via email to