Analyzing text to find common terms using Python and NLTK

The examples in Getting Started with NLTK have you analyze text imported from the NLTK library. What if you want to analyze your own input text? I stumble over how to do that in this post, and I analyze some word frequencies in a series of tweets.