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

Integrated library systems, Integrated Library Systems: An integrated libr...

Integrated Library Systems: An integrated library system (ILS), also known as a library management system (LMS), is an enterprise resource planning system for a library, employed

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

Lexington and Concord, I need help with a paper I have to write on the batt...

I need help with a paper I have to write on the battle of Lexington and Concord. I would please like a straightforward answer.

Political science, Is Madison’s view that Federalism provides greater prote...

Is Madison’s view that Federalism provides greater protection to individuals and minorities still true today?

Math, #questsion.4b,3b,b is it variables, like terms, constants, or coeffic...

#questsion.4b,3b,b is it variables, like terms, constants, or coefficient?

Multicultural model in counselling, Question 1: Critically examine bene...

Question 1: Critically examine benefits that each of the subsequent stakeholder might derive from the setting up of a school counselling unit. (a) Parents or guardians (b

Business ethics & corporate governance, Why business ethics & corporate gov...

Why business ethics & corporate governance important even though there is a rule and regulation and policies.

Requirements of specific macss payment messages, Question: a) List an...

Question: a) List and explain the main components of the MACSS. b) S.W.I.F.T. monitors the payments traffic of members of the MACSS Closed User Group (CUG) and will dire

BIB 107, AskWhat do these passages tell you about God’s relationship with p...

AskWhat do these passages tell you about God’s relationship with people through covenants? Which covenants are operative? question #Minimum 100 words accepted#

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