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

What do you understand by amicus curiae, Question 1 Discuss any five salie...

Question 1 Discuss any five salient features of the American Constitution Question 2 Discuss solutions to Improving Centre State relations Question 3 The President has t

What are the factors leading to anomie, Question 1: ‘Even though the pu...

Question 1: ‘Even though the public is ready, and women themselves are trained, educated, in the pipeline, and prepared to lead, women are vastly underrepresented at the top ra

What is an attitude, Question 1: (a) What is an attitude? (b) In wha...

Question 1: (a) What is an attitude? (b) In what circumstances do attitudes determine behaviours at work? Question 2: Understanding personalities in the workplace is

HIV/AIDS, some myths and misconceptions that still prevail amongst many com...

some myths and misconceptions that still prevail amongst many community members concerning the transmission of HIV

Analyze global temperature and carbon dioxide measurements, To analyze glob...

To analyze global temperature and carbon dioxide measurements for seasonal, annual and longer term trends b parsing and loading complex data ?les and dealing with missing data, wri

Lowell girls, why was the lowell system bad for girls?

why was the lowell system bad for girls?

Credit card basics, CREDIT CARD BASICS A credit card is element of a sy...

CREDIT CARD BASICS A credit card is element of a system of payments named after the little plastic card issued to users of the system. The issuer of the card grants a line of c

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