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
WHAT IS B2G E-COMMERCE? Business-to-government e-commerce or B2G is generally described as commerce between companies and the public sector. It refers to the licensing procedur

Problem 1 (a) What are the factors in the social environment leading to increased business criticism? (b) How does this impact on the social contract? Problem 2 'On

formations and social relationships. Immoral acts can easily be performed in Virtual Reality (for example, video games that incorporate gender bias, domestic violence and sexual ac

Language is a multifaceted and complex cognitive function Imagine a situation where one is in a foreign country and cannot utter a word in the local tongue. Further, imagine that


functions of a library catalogue

in autocad 2013, i have 2 different files containing things that i want to add to one file so that it can be viewed as one image. how do i do this?

Both Winner and Joy explore the issue of technology and control. How would you compare their two views of current technological development? Focus the comparison on a specific tech

Problem 1: (A) Define Paraphilias. (B) (I) State the five features that are found in most cases of sadomasochism. (II) Differentiate between sexual sadism and sexual maso