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

Matlab, how to create adjacency matrix for amino acids in matlab ?

how to create adjacency matrix for amino acids in matlab ?

Geomorphological drainage system, Geomorphological Drainage system: In geo...

Geomorphological Drainage system: In geomorphology, a drainage system is the pattern formed by the streams, rivers, and lakes in a particular drainage basin. They are governed by

Rules for making good design, Question 1: (a) List any ten rules for ma...

Question 1: (a) List any ten rules for making good design. (b) Elaborate on any five of those. Give visual examples as appropriate to illustrate each rule and use written

Stomach - steps in digestion, The stomach digests food partly by the mechan...

The stomach digests food partly by the mechanical means of churning it and partly by chemical means. Proteins are a primary target of the stomach's digestive juices. The stomach's

signlanguage, #question.are there slots for teaching sign-language

#question.are there slots for teaching sign-language?.

Show ratio analysis, Provide a brief (one typed page) discussion of analysi...

Provide a brief (one typed page) discussion of analysis of the ratios of your company versus the competitor and the industry, addressing your company's liquidity, solvency, profita

Goverment, Forming a strong political _________________________ without for...

Forming a strong political _________________________ without forming an equally sound understanding of politics could lead to making unwise choices in the voting booth.

Environmental responsibilities, Environmental Responsibilities: Environmen...

Environmental Responsibilities: Environment cares for us. It gives us beauty (grass), oxygen (trees), protects us from Sun's powerful UV rays (ozone layer) and several more things

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