Let us look at one more example of text processing. Suppose you are interested in
comparing the writing styles of different writers. One of the measures that you are
going to use for comparison is the average sentence length in words because some writ-
ers use simple, short sentences and some have a tendency to use complex, long sentences.
You also want to measure the average word length in terms of how many characters
per word. You have collected several representative samples, in electronic form, of the
writers you are comparing. Having just learned about the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.