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

Virginia, what is on the license plate and why

what is on the license plate and why

Describe the effects of mass media on public opinion, Question 1: Descr...

Question 1: Describe the effects of mass media on public opinion according to: (a) The agenda setting theory (b)The spiral of silence theory Question 2:

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

Small intestine, The chyme enters the small intestines where all the nutrie...

The chyme enters the small intestines where all the nutrients are absorbed through the microscopic finger like villi on the lining of the small intestines. Vitamins and minerals pa

How do you write a profile of someone, how do you write a profile of someon...

how do you write a profile of someone. please give suitable profile titles. i have to write a profile on bishop poleni. we have never ever written profiles before in class and my e

Normalize a logical diagram to bcnf, I have the logical diagram with all at...

I have the logical diagram with all attributes. All I need to normalize my database diagram up to BCNF form

Natural resource administration, Natural Resource Administration: Together...

Natural Resource Administration: Together, these resources provide the ecosystem services that underpin human life. The perspective of this paper is that NRM should contribute to

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