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
SECURIT Y GOVERNANCE The Software Engineering Institute at Carnegie Mellon University, in a publication aristocratic "Governing for Enterprise Security (GES)", describes chara

Question 1 Describe the various types of listening with examples for each type Discriminative listening Comprehensive listening Evaluative listening Appreciative li

Modern Cryptography Systems: A Hybrid Approach In fact, a mixture of both public key and traditional symmetric cryptography is used in current cryptographic systems. The motiva

Environmental Assessment: An environmental assessment is a study needed to establish all the influence either positive or negative regarding one particular project. It will contai

New Media Communication Technologies: Here are some contemporary New Media communication technologies that are a mix of mass communication and interpersonal communication. Que

how do I download flash cards for this course

QUESTION "Diplomacy is a tool of politics". (a) What similarities or differences can you draw between diplomacy and politics? Diplomacy has been instrumental in shaping t

CHARACTERISITCS Characteristic s of a client Initiates requests Receives replies Waits for replies usually interacts directly with end-users using a gr

Fundamental issues in spatial analysis: Spatial analysis confronts many fundamental issues in the definition of its objects of study, in the construction of the analytic operation

Why should we keep our environment clean and green ?