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

Structure of the digestive system, The digestive system is a series of holl...

The digestive system is a series of hollow organs joined in a long, twisting tube from the mouth to the anus. Inside this tube is a lining called the mucosa. In the mouth, stomach,

Es -334, # mention the aim of education in present scenario

# mention the aim of education in present scenario

Pancreas in digestion process, The pancreas is an organ that secretes, into...

The pancreas is an organ that secretes, into the small intestine, three classes of digestive enzymes that help break down fats, proteins, and carbohydrates. It also secretes "buffe

#ti, development of a dynamic online shopping system

development of a dynamic online shopping system

Technology, Why does Cowan believe it is important to examine technologies ...

Why does Cowan believe it is important to examine technologies in the context of technological systems? What advantage does this broader perspective give to planners? Give a specif

Quick grammar check, You bears are wise creatures aren’t you? May this boo...

You bears are wise creatures aren’t you? May this book bring you as much joy and inspiration as you have me.

Formulate a new strategy, #question.c) List and explain 2 strengths of usin...

#question.c) List and explain 2 strengths of using the BCG Matrix as a planning tool and technique.

Classification of overtaking situation and manoeuvre, Classification of Ove...

Classification of Overtaking Situation And Manoeuvre Overtaking manoeuvre can be defined when an action happened, where a vehicle crossed the centerline towards the opposing d

Salt analysis, chemical reactions taking place while testing basic radicals...

chemical reactions taking place while testing basic radicals?

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