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

Interpersonal communication, Which one of the following items is an example...

Which one of the following items is an example of a reference point? A. The goal of a communication B. The topic of a communication C. The personal values of the target audience D.

Crisis intervention , What measures can be enacted to assure emergency room...

What measures can be enacted to assure emergency room patients are in true need of emergency care? Whose duty is it to initiate this reform? Who should be responsible for enforci

Isa server 2004, IS A 2004 ISA Server 2004 was free on the 8th Septemb...

IS A 2004 ISA Server 2004 was free on the 8th September 2004. ISA 2004 set up multi-networking support, incorporated virtual private networking design, extensible user and ver

Basic principles of information security - confidentiality, Basic Principle...

Basic Principles Confidentiality Confidentiality (privacy) is the assets of preventing confession of information to illegal individuals or systems. For instance, a credit

Visual basic 2010, How do I get stared? Do I start from the beginning of ch...

How do I get stared? Do I start from the beginning of chapter 1?

Criminal Justice Topic Subculture In Policing, I Have to do a 5 minute pres...

I Have to do a 5 minute presentation on Subculture in policing. I just don''t know how to start it. What should I talk about?

Case of doubt over ethical practice, Question 1: (a) Explain in which ...

Question 1: (a) Explain in which circumstances, when compliants are made, these are not pursued? (b) Discuss the ways in which psychologists can avoid pitfalls. Questi

Diplomacy is a tool of politics, QUESTION "Diplomacy is a tool of polit...

QUESTION "Diplomacy is a tool of politics". (a) What similarities or differences can you draw between diplomacy and politics? Diplomacy has been instrumental in shaping t

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