POS Tagging and Visualization

Update: the following images show the use of certain words referring to war, children/education, and health care in the combined speeches of the last three presidents. The word choices reflect my own biases. Words such as war, terrorists, terror, security, bomb, attack, were grouped into the “military” category, words such as education, children, schools, teachers, were grouped into the “children” category, and words such as health, insurance, doctors, medicine, medicaid, medicare, were grouped into the “healthcare” category. The location of the images represents the location in the body of all speeches where the words occur. Next I would like to do visualizations of Ngrams that show likely sentences/sentence combinations, so that the location is more meaningful.

Obama:

Clinton:

Bush:

Here is a mashup based on Heather’s code for mashing up two texts by replacing the nouns in one with the nouns of the other.
This is an Obama / Bush medley state of the union address:

“We must continue to pursue an aggressive , proposal humility patchwork . Congress has some unfinished canal on the account of taxes . The respect reductions you passed are set to expire .
Unless you act , the unfair harmony on per will go back up .
Unless you act , millions of families will be charged $ 300 more in Federal taxes for every providing–engagement .
Unless you act , small businesses will pay higher taxes .
Unless you act , the media mountain will eventually come back to legacy . Unless you act , Americans plot a Elementary increase .
What Congress has given , the Congress should not take away .
For the fastest of advancement decade–what , the college cuts you passed should be permanent . Our allowance for jobs and whip must help small-business owners and employees with firefighter from needless Federal regulation and protect them from sign and frivolous lawsuits .
Consumers and businesses need reliable supplies of childhood to make our teacher run , so I urge you to pass Rock to modernize our electricity notion , promote System , and make America less dependent on foreign sources of System .And here is the same part of the speeches, where the verbs replace verbs:“Congress has some unfinished business on the issue of taxes .The tax reductions you passed are set to protect .Unless you wonder , the unfair tax on marriage will exist back up .Unless you advance , millions of families will be charged $ 300 more in Federal taxes for every child .
Unless you reform , small businesses will prefer higher taxes .
Unless you delay , the death tax will eventually come back to life .
Unless you reveal , Americans face a tax dig .
What Congress has given , the Congress should not suffer away .
For the sake of job growth , the tax cuts you passed should be permanent .
Our agenda for jobs and growth must eat small-business owners and employees with relief from needless Federal regulation and maintain them from junk and frivolous lawsuits .
Consumers and businesses need reliable supplies of energy to open our economy rot , so I urge you to supplant legislation to quit our electricity system , promote conservation , and save America less dependent on foreign sources of energy .”Here is the rest of it. . .
My administration is promoting free and Internet harder to open up new markets for America’s entrepreneurs and Highway and farmers , to create jobs for American workers .
Younger workers should have the mass to build a discord connection by saving cut–a of their Social take taxes in a personal fate banker .
We should make the Social outcome teacher a top-down of engineering for the American people .
And we should limit the materials of border on this spread by acting as good stewards of taxpayers’ dollars .
In 2 weeks , I will send you a budget that funds the opportunity–it , protects the lot , and meets important not needs while limiting the manufacturing in discretionary spending to less than 4 percent .
This will require that Congress generation on priorities , cut wasteful spending , and be wise with the people’s Product .By doing so , we can cut the dignity in half over the next 5 years .
Tonight I also ask you to reform our General laws so they reflect our values and Court our initiative .
I propose a new temporary- watch act to match willing foreign workers with willing selfish when no Americans can be found to fill the stale .
This life will be good for our principle because growth will find needed workers in an honest and orderly air .
A watch task will help protect our duty , allowing borders–and employment and dollar fee to basic on true threats to our national emphasis .
I oppose amnesty , because it would encourage further illegal struggle and unfairly equivocation those who break our laws .
My temporary- curiosity heritage will preserve the citizenship risk for those who respect the sun while bringing millions of dime men and women out from the shadows of American Depression .
Our Nation’s communism regard department , like our Retirement , is also in a fee of ceilings .
Amazing medical technologies are improving and saving lives .
This dramatic support has brought its own friend , in the rising costs of medical energy and terrorism collapse .
Members of Congress , we must work together to help danger those costs and extend the teacher of modern employers throughout our storm .
homeland these goals requires bipartisan investment–their , and 2 months ago , you showed the read . By will Super and adding a freedom drug history–an , you kept a fighting–is commitment to our Internet .
You are giving them the modern segregation they deserve .
Starting this Home , under the capacity you passed , drive can choose to receive a drug project span , saving them 10 to 25 percent off the storm detention of most magnitude drugs , and millions of low-income deal can get an additional $ 600 to buy regard .
Beginning next threat , rescue will have new economy for preventive screenings against diabetes and year disease , and stock just entering strength– can receive poverty–we exams .
In January of 2006 , determination can get contributor drug providing–engagement under law .
For a monthly hatred of about $ 35 , most gas who do not have that coverage today can expect to see their drug bills cut roughly in half .
Under this invest , movement citizens will be able to keep their point just as it is , or they can choose a ninth charity that fits them best , just as you , as Members of Congress , can choose an guaranteed statistics that meets your needs .
And starting this extremism , millions of Americans will be able to save status hour for their medical expenses in a function savings moon .
I signed this division proudly , and any set to limit the choices of our Union or to take away their flying–without drug assure under belief will meet my fist .”

In the way that preserves the style and pace of the speeches more, it is more interesting than the N-grams, but the obvious distinctions between the sentence fragments in the N-gram generations were more revealing of different contents and patterns.