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
FINAL PRACTICUM EXAM Read your exam directions carefully two and three times, please, all the information you will ask questions about are written here. As an individual, you ar

Trying to confirm my paper for tomorrow delivery.

Question 1: (a) Explain the different concepts of culture. (b) According to you, how is culture related to anthropology? Question 2: The 2009 presidential election

Contemporary and Postmodern Art: Generally, contemporary art is described as any form of art in any medium that is generated in the present day. Though, within the art world the t

role of school imparting family life education

A girl takes 140 steps to walk 100 metres. She has to walk 2 kilometres 750 metres. how any steps will she take?

Ronald Knee, an undergraduate student at the University of Excelsior, while receiving therapy from Dr. Ernest Grabbit, made threats against an unnamed classmate, who was identifiab

Cognitive neuroscience is a fairly young but rapidly growing discipline of science that aims at solving the intriguing question of how the brain (or, more generally, the body) give

The stomach digests food partly by the mechanical means of churning it and partly by chemical means. Proteins are a primary target of the stomach's digestive juices. The stomach's

Question 1: (a) Describe what family mediation is. (b) Explain a set of guidelines that you would follow as a multi- cultural counsellor. (c) Describe what is meant by op