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

Report for owner of store, you work for subway and you want report of what ...

you work for subway and you want report of what sandwichs were sold the most of within 6 months?

Resarch in Family Law , I wanna write research 15 pages I need it On Friday...

I wanna write research 15 pages I need it On Friday April 12

Components of a gis, Components of a GIS: A working GIS integrates these f...

Components of a GIS: A working GIS integrates these five key components: hardware, software, data, people, and methods. Do your experts should provide Components of a GIS Quest

Evaluate the efficacy of different media sources, Question 1: Criticall...

Question 1: Critically examine how Media construct reality. Question 2: Evaluate the efficacy of different media sources in terms of their ability to provide political

What are the factors leading to anomie, Question 1: ‘Even though the pu...

Question 1: ‘Even though the public is ready, and women themselves are trained, educated, in the pipeline, and prepared to lead, women are vastly underrepresented at the top ra

Describe the term supervision, Question 1: (a) Explain the five main pu...

Question 1: (a) Explain the five main purposes of code of ethics in counseling. (b) Explain how attitude and orientation of a counselor in any psychotherapy is of highly i

HIM1000_Intro to Health Information Management_Test Guide, REVIEW THE FOLLO...

REVIEW THE FOLLOWING TOPICS FOR THE UNIT TEST #3 ROI - guidelines for release, consents, etc... Numbering systems Microfiche/microfilm storage Filing – what is more efficient & wha

Advantages of using electronic data interchange , Advantages of using EDI o...

Advantages of using EDI over paper systems EDI and other related technologies keep company money by providing an option to, or replacing information flows that need a great dea

Describe how the process of counseling uses strategies, Question 1: (a)...

Question 1: (a) Define Counselling and show how it has evolved from psychotherapy by comparing the two. (b) Describe how the process of counseling uses strategies to bring s

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