Textual Analysis Lab Series

Project: ArrayList Traversal Patterns


This set of exercises is a follow-up to the Word Counting Lab. In that project you read in lines from a work of literature and then calculated some basic statistics based on the number of words and number of lines in the text. In these exercises, you will be doing additional analysis of the text.


Shifting Gears

Vocabulary Analysis

In the previous lab, you calculated the average word length in a text. In the next set of exercises, you will do more interesting textual analysis.

Reminder: Many of these exercises are more interesting if you compare results from a couple of different books from Project Gutenberg, choosing books that are very different from each other, so that you can compare them along the way or at the end. (Don't forget to download Plain Text versions.)

Literary Character Analysis

Another variation on the word frequency analysis would be to measure how often various characters (as in personages, not letters) are mentioned in the book. This is a way of quantitatively measuring the relative importance or prominence of various characters.

Zip and Submit Your Program.

You will be adding to this program in the Word Frequency project, but submitting it at this point will allow you to get feedback before you submit a final version.