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

Describe the types of personal protective equipment, Question 1: (a) D...

Question 1: (a) Describe the types of personal protective equipment and clothing that can be used to avoid or minimise injuries to workers. (b) List five essential points

Naturalism, Naturalism: Artists of the Italian Renaissance targeted to rep...

Naturalism: Artists of the Italian Renaissance targeted to represent nature and figures more realistically than medieval artists. They made close studies of nature & the human bod

Social studies, In respone to the navigation acts and other colonial restri...

In respone to the navigation acts and other colonial restrictions some colonis

Build a warm trusting relationship, Counselling occurs in a reciprocal rela...

Counselling occurs in a reciprocal relationship. A warm trusting relationship between the counsellor and client requires to be built up if change is going to take place. The client

Phylum coelenterata, i hv to make powerpointpresentation , please give me s...

i hv to make powerpointpresentation , please give me some suggestion .....

Nursing, what is the regime for post op vital signs

what is the regime for post op vital signs

Types and categories of rhetorical criticism, Types/Categories of Rhetorica...

Types/Categories of Rhetorical Criticism It is not an exhaustive listing of the particular types or genres of rhetorical criticism, but generally these are the ones discussed

Pyschology, In this essay, explore how the passage of time is perceived by ...

In this essay, explore how the passage of time is perceived by humans. Is this a top-down process, a bottom-up process, or both? Is this sense innate, or do we rely on environmenta

Medieval church and crusades, Hi i need help on how to write an anylitical ...

Hi i need help on how to write an anylitical essay on the topic above

Sociology, what method usually involves two or more countries or cultures t...

what method usually involves two or more countries or cultures that have several things in common but differ in one particular dimension?

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