State of the union code, Other Subject

Assignment Help:

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.


Related Discussions:- State of the union code

Disadvantages of client - server architecture , Disadvantages Traff...

Disadvantages Traffic overcrowding on the network has been an subject since the inception of the client-server paradigm. As the amount of instantaneous client requests to a

Utilitarian point of view and kantian-type analysis, Question 1: "There...

Question 1: "There is only one social responsibility of business: to use its resources and engage in activities designed to increase its profits" (Milton Friedman, 1970) (a

Legals question, Ask question 1. Two truck drivers for a moving company, wh...

Ask question 1. Two truck drivers for a moving company, while loading a desk, found $1000 that had fallen out of the desk. They knew who the owner was but instead of returning it

Motion in a straight line under gravity, a stone is dropped from a roof of ...

a stone is dropped from a roof of a house and falls past window 6m high in 1/4 seconds; find the height of the house above the window?

Fisheries & wildlife division fwd, Fisheries & Wildlife Division (FWD): Th...

Fisheries & Wildlife Division (FWD): The Fisheries and Wildlife Division (FWD) develops supports and implements programs for urban fish and wildlife conservation, protection, recr

Implied paragraph, I need to write a paragraph about fast food and not unde...

I need to write a paragraph about fast food and not understanding implied main ideas

Gentlemen, Gentlemen, accurate confirmation of the message sent to my email...

Gentlemen, accurate confirmation of the message sent to my email, or is there some plagiarism of your mail. --------------------------------------- I need Your urgent assistance,

Culture of indigenous people, Culture of Indigenous People: Indigenous peo...

Culture of Indigenous People: Indigenous peoples represent more than 4,000 different languages and cultures each having their own unique merits. Despite this enormous diversity, w

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd