State of the union code, Other Subject

1)  The average number of sentences per word over time

Do this two ways:

First, using a simple regex that splits on puntuation. Second, using the natural language toolkit's sentence tokenizer.
2)  The average number of unique words per 100 words over time

    - remove common words ( see the lecture slide for a list )

Do this two ways:

First: assume that different words are all unique, even if they share suffixes ( like run and running )

Second: using the stemming code from the NLTK.

Make sure that you sort the speeches by their date, and write the data into a text file with two columns: date and statistic.

EC) Build a word cloud, as seen in the slides from lectures 11 and 12

Part 2: Collect an interesting web statistic.

Use urlweb and a website of your choice to collect a statistic. Write a one paragraph description of your statistic at the top of the code
file.

Examples include sports game data, weather statistics, name statistics, etc.

Posted Date: 3/15/2013 1:52:26 AM | Location : United States







Related Discussions:- State of the union code, Assignment Help, Ask Question on State of the union code, Get Answer, Expert's Help, State of the union code Discussions

Write discussion on State of the union code
Your posts are moderated
Related Questions
In developing our awareness of Indigenous Australians, including their historical perspectives, culture and lifestyles, it is important that we recognise and understand the develop

.Make an argument about one of the following topics: 1. The magical elements in Bloom. by Kelly Ana Morey Weighting 40% Argument and Structure (35% as a letter grade) Written Pr

Question: It is believed that the grief experience impacts all aspects of the being of an individual. Describe carefully any one of the following reactions which an individu

What inspired Galileo to improve the telescope

The American healthcare system is an institution in flux. Healthcare providers are facing increased scrutiny to decrease costs and improve quality while creating value for the enti


1. This time using the temperature data. Plot only the data in the time interval 1960 - 2009 so that you can visually compare it with the CO2 record. 2. Anti-global warming prop

What is the need for documents in international business? Substantiate your answers with suitable examples.

Executive functions refer to a range of higher-order cognitive functions that enable organized and goal-directed behavior. Problems manifested by two exemplary brain damaged patien

Drainage patterns: According to the configuration of the channels, drainage systems can fall into one of several categories known as drainage patterns. Drainage patterns depend on