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

transitional words, Write a a paragraph in which you classify the general ...

Write a a paragraph in which you classify the general school subjects you like, subjects you have studied or are now studying in school (for example, chemistry, English and so fort

Introduction to Psychology, "Sometimes, it is tempting to analyze people yo...

"Sometimes, it is tempting to analyze people you know in terms of disorders they seem to show. What are the risks of assuming this kind of role as an amatur Psycholgist."

History, Which of the following best describes how many Europeans, living t...

Which of the following best describes how many Europeans, living through the Great Depression, thought about political systems? a) All forms of governments are bad b) Liberalism is

Government, "The landmark abortion decision of Roe v. wade was?"

"The landmark abortion decision of Roe v. wade was?"

Romantic background, Which of the following features characterizes haiku? ...

Which of the following features characterizes haiku? a. The use of complex figures of speech to express the poet’s attitude b. The use of narrative to tell a story in verse c.

Management information system, evaluate the past and present state of manag...

evaluate the past and present state of management information system in logistec industry.

Angel of Death Gareth Williams Reading Guide, I could really use some help ...

I could really use some help with this reading guide for Angel of Death - The story of smallpox by Gareth Williams. My dad had a stroke 2 days ago and he needs 24/7 care and my mom

Commercial environment - e-commerce, COMMERCIAL ENVIRONMENT The commerc...

COMMERCIAL ENVIRONMENT The commercial environment team is made up of four main fundamentals: health & safety, food, entertainment premises, and the consultation team. They make

Classical civilization and art, Classical Civilization and Art: Classical ...

Classical Civilization and Art: Classical Civilization is the branch of the Humanities comprising the literature, languages history, art, philosophy, archaeology and other cultur

Delinquent patient accounts, Cash Receipts, Cash Disbursements & Delinquent...

Cash Receipts, Cash Disbursements & Delinquent Patient Accounts Under the terms of the contract all patients (including those with insurance) are required to make a deposit equi

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