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

International business, the purpose of this assignment is to evaluate the p...

the purpose of this assignment is to evaluate the potential for a new business or business expansion to a foreign country of your choice. you will evaluate business opportunities i

What is our responsibility to nature?, What Is Our Responsibility To Nature...

What Is Our Responsibility To Nature? Our responsibility towards nature is to take care of her. Don't throw out waste things out your car windows for other people to pick up, g

Organisation behavior, tesco supermarks organisational behavior trends and ...

tesco supermarks organisational behavior trends and stratiges

We the people social studies, How did the struggles between the monarchy an...

How did the struggles between the monarchy and nobility lead to limited government in Great Britain?

Food and beverage operation outlets, Question: a. There are two types ...

Question: a. There are two types of beverage and food operations outlets. What are these two types of food and beverage operation outlets and give 5 examples of each. b. A

Patient care or nursing intervention - pico format, Develop a clinical ques...

Develop a clinical question relating to one of the patient care/nursing intervention in the case study using PICO format (problem, intervention, comparison of interventions, outcom

How does social control establish unity, Question 01 Discuss the theories ...

Question 01 Discuss the theories of socialization Question 02 How does social control establish unity? Question 03 Based on which levels does man adapt himself to

World wide web (www), The Web [WWW] The first age group Web applica...

The Web [WWW] The first age group Web applications were typically static and read-only: the client and the server exchanged HTML documents throughout HTTP protocol. The

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