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

Project, what is the difference between efforts and elapsed time

what is the difference between efforts and elapsed time

Social work, how much would it cost to write a 6 page paper bachelors level...

how much would it cost to write a 6 page paper bachelors level?

Explain the importance of friendship and peer relationship, Peer Acceptance...

Peer Acceptance refers to the social status or popularity within a large group whereas friendship represents relationships based on mutual respect, appreciation and liking. Peer ac

Safety Homework help, I have a homeworks to be done from a safety textbook....

I have a homeworks to be done from a safety textbook. All that needs to be done is to read the chapter and answer the questions at the end of the book usually 20 questions per chap

History, to help cook food,the people in this period created_?

to help cook food,the people in this period created_?

Define the term organisation culture, Question: (a) Describe the three ...

Question: (a) Describe the three methods of communication at the workplace and the principal advantages and disadvantages of each medium. Also explain the emerging role and imp

Exploring the 1960s., The 1960s represented an era of significant economic ...

The 1960s represented an era of significant economic growth for Americans. Some economists argue that the early 1960s began the consumerism that defines American culture today. To

Environmental conservation and restoration, Environmental Conservation and ...

Environmental Conservation and Restoration: The Conservation & Restoration Ecology major teaches students to employee ecological principles to restore terrestrial systems (, range

What should a client do to get the most out of group therapy, Question 1: ...

Question 1: It is becoming clear that much of mental illnesses originate in some way from the individual's relations with groups and that groups may be used effectively in ment

How is children socialized?, How is Children Socialized? Socialization ...

How is Children Socialized? Socialization is a learning procedure that shortly begins after birth. Early childhood is the period of the mostly intense and most crucial sociali

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