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

Explain john burton''s theory of decision-making, Question 1 How have both...

Question 1 How have both the World Wars and League of Nations affected international politics? Question 2 Define globalization. Also analyse Terrorism as a global threat

Branding, examples of provincial brand

examples of provincial brand

How & what are process of tutoring!, Hello  Please suggest me process of...

Hello  Please suggest me process of online tutoring? Please reply ASAP

Roman history, Roman History: It spans a thousand years and covers not onl...

Roman History: It spans a thousand years and covers not only the Mediterranean region, but Europe to the British is less, northeast to the Danube River, and eastward through Asia

Education, role of school imparting family life education

role of school imparting family life education

Explain the underlined statement, The basic qualities of acceptance and con...

The basic qualities of acceptance and concern for others, recognition of the worth of each individual, truthfulness, honesty, self awareness, goodwill, tolerance and caring are des

Neurological development, Write a response in your own words to each of the...

Write a response in your own words to each of the following questions: 1. Describe the processes of habituation and dishabituation and explain how they are used in research with

Developing business knowledge exam, Hi I have an exam on developing busines...

Hi I have an exam on developing business knowledge in a few weeks and have been given a pool of questions some of which will be chosen for the exam. Just wondered if you could help

Wastage and stagnation, what are the factors affecting wastage and stagnati...

what are the factors affecting wastage and stagnation

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