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

Feminist research method, Feminist research method: Feminist Method is a m...

Feminist research method: Feminist Method is a means of conducting of scientific investigations and generating theory from an explicitly Feminist Standpoint. Feminist methodologie

Discuss ancient egyptian belief in the afterlife, Question 1 The 12th dyna...

Question 1 The 12th dynasty brought Egypt to the pinnacle of its power. Discuss Question 2 Discuss ancient Egyptian belief in the afterlife Question 3 Discuss th

Grammar, I''m wondering if this sentence is grammatically correct? Do I nee...

I''m wondering if this sentence is grammatically correct? Do I need commas before and after "as well as"? This position will allow me to stay on my career of interest path, as wel

Describe the posec method of time management, Question: 1. Describe any...

Question: 1. Describe any two personality characteristics in an organization. 2. Describe the POSEC method of time management 3. Why are goals important? Why should the

Social studies, Northeast Regions, climate? work Industry? Types of People?...

Northeast Regions, climate? work Industry? Types of People? Plants and animals? All the same questions for the Midwest, and Southeast.

Promotion of product, how to make an assignment of promotion of product

how to make an assignment of promotion of product

Classical civilization and art, Classical Civilization and Art: Classical ...

Classical Civilization and Art: Classical Civilization is the branch of the Humanities comprising the literature, languages history, art, philosophy, archaeology and other cultur

Logic, #qIf you have two candles on a boat but no source of fire. How will ...

#qIf you have two candles on a boat but no source of fire. How will you lighten a candle if you are in the middle of the river? uestion..

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