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
Hi, do u help with HYSYS assignment ?

What is film theory? Please provide me report on Major approaches and movements in film theory. It is about 2000 words count report on topic Major approaches and movements in film


Question: A 15 years old, two story building, used as a warehouse, has its corrugated roofing sheets damaged and needs replacement. A mobile tower scaffold is made available to

a case study about innovation for design and technology

Question 1 Write about the early history of magazines, taking into account various types of magazines too Question 2 What are the various kinds of magazine articles? Explain

Question: The mass media are a big source of information and ideas. These can shape people's attitudes and to some degree direct their behaviour. Many researchers have seen t

Question 1 Explain the socio-cultural changes that took place due to the process of Westernization Question 2 Explain Sociological perspectives on education Ques

Test the hypothesis that the proportion favoring Romney in the Gallop poll is the same as the proportion favoring Romney in the Rasmussen poll against the alternative that the prop

Prepaid "Credit" Cards A prepaid credit card is not a credit card, while no credit is presented by the card issuer: the card-holder spends money which has been "stored" by mean