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 i had ask two questions to interviewee related to my topic that is conducting job interviews structure, approach and resumes and the questions are 1. What type of interview str

QUESTION 1 "Counselling provides an opportunity for you to progress towards a more satisfying and resourceful way of life. It opens the door to solutions to personal emotional

im doing a assessment on japan tsunami 2011 and I need to describe spatial distribution and I don''t understand

How credit cards work? Credit cards are issued after an account has been accepted by the credit supplier, after which cardholders can use it to formulate purchases at merchants

effective human resources mangement depends upon soun reward system. explain

what is the relationship between physical and human characteristics of a place

The mouth is the beginning of the digestive tract; and, in fact, digestion starts here when taking the first bite of food. Chewing breaks the food into pieces that are more easily

Securit y Classification for Information A significant feature of risk management and information security is recognizing the importance of information and defining suitable p

i need to write a negative message here is the case: You''re one of the owners of a small human resources temp agency: A-1 Accounting Personnel. You and a fellow graduate of Bost

Problem 1: Ethical principles are crucial to promote the well-being of both the counsellor and the client. Discuss. Problem 2: Show the relationship between law and oth