Text Field "Statistics" script
Klaus Major
klaus at major-k.de
Wed Jun 14 15:47:11 EDT 2006
Hi Ruben,
> I'm a pretty new user of RunRev and wanted to know whether anybody
> has a
> slick script (or ideas for one) to calculate the following for a text
> field:
OK, lets see:
> 1. Total number of words in the text field
the number of words of fld xyz
> 2. Total number of Paragraphs in the text field
the number of lines of fld xyz
> 3. Total number of Sentences in the text field
How do you want to define "sentence"?
> 4. Total number of sentences per paragraph
See above...
> 5. Average number of words in a sentence
Count alls words of all sentences.
Divide (round) that number by the number of sentences.
:-)
> 6. Total number of passive verbs (this one would be probably
> involve a small database/flat file to search and compare through?)
Yes, that would surely be necessary...
> Ideas and help are greatly appreciated. Since I don't know much about
> the coding language yet, the more specific the better. Thank you all!
Hope that helps.
Regards
Klaus Major
klaus at major-k.de
http://www.major-k.de
More information about the use-livecode
mailing list