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

For IAS, which syllabus should read for IAS pre and main

which syllabus should read for IAS pre and main

Define the term crystallized intelligence, Question 1: a. Define the t...

Question 1: a. Define the term ‘crystallized intelligence' b. List and Describe any 5 of Gardner's multiple intelligences c. Briefly explain Robert Stenberg's theory o

Greek and roman thought, Greek and Roman Thought: Greek thought is the nec...

Greek and Roman Thought: Greek thought is the necessary wellspring from which the ethical, intellectual and political civilization of the West draws and to which, even today. Anci

Explain the steps in an accident investigation, Question: (a) List ten ...

Question: (a) List ten steps in an accident investigation. (b) A factory operator having several years experience was running down the stairs at the end of his shift and he

Linear Convolution in DSP sums, how to slove linear convolution when limits...

how to slove linear convolution when limits are negative to positive .provide with example

Advantages of internet - entertainment, Entertainment: Entertainment is...

Entertainment: Entertainment is an additional popular reason for why a lot of people have a preference to surf the Internet. In fact, media of internet has become relatively su

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..

Applicability of Factory Act 1948, As">http://www.delhi.gov.in/wps/wcm/conn...

As">http://www.delhi.gov.in/wps/wcm/connect/doit_labour/Labour/Home/Acts+Implemented/Summary+of+the+Acts+Implemented/The+Factories+Act-1948 As per above site of Government of Ind

1989 constitution of the federal republic of nigeria, state the relevant pr...

state the relevant provisions of the now moribund 1989 constitution of the federal republic of nigeria

Describe how two-hand control device work, Question 1: (a) In relation...

Question 1: (a) In relation to electrical safety, explain the meaning of the following terms: (i) Earthing (ii) reduced low voltage (iii) isolation (iv) over curre

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