An exercise in text analysis for Software Carpentry at Harvard using _Hamlet_ and _Adventures of Huckleberry Finn_.