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

Executive functions in cognitive neuroscience, Executive functions refer to...

Executive functions refer to a range of higher-order cognitive functions that enable organized and goal-directed behavior. Problems manifested by two exemplary brain damaged patien

Culture, how do campaigns affect liberal democracy?

how do campaigns affect liberal democracy?

Analyze the concept re-imagining new professionalism, Question: (a) Ana...

Question: (a) Analyze the concept "re-imagining new professionalism" for capacity building in an Island state like ours, to reach global destination and to support shared decis

Monitor work operations, Practical activity will require to prioritise and ...

Practical activity will require to prioritise and co ordinate a variety of operational tasks. You should communicate effectively with team members and ensure awareness and acceptan

COMMERCIAL LAW - NEMO DAT RULE, if a car has been sold to a buyer by a car ...

if a car has been sold to a buyer by a car dealer, but kept for repairs and has to be delivered to the buyer, but before delivery the dealers mechanic by mistake sells the car to a

Apply relevant legislation and guidance - law, Jim and Maureen Stewart live...

Jim and Maureen Stewart live with their two children, Hamish aged 11 and Alexandra aged 13, in a council owned property within an inner London borough. Jim has a long standing diag

How public policy making as a major task of government, Question 1: Exp...

Question 1: Explain clearly how Public Policy making, as a major task of Government, is concerned with the alleviation of social problems and the realization of human dignity.

Zoology, Give a detailed account of antedon of the phylum echinodermata

Give a detailed account of antedon of the phylum echinodermata

Explain the psychological reaction of the person, Problem 1: (a) First...

Problem 1: (a) First symptoms started to be noticed, the first feelings of doubts and anxiousness, a medical visit then a series of complementary exams and finally the diagno

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