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

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

Features of universal currency, FEATURES of Universal currency Proponen...

FEATURES of Universal currency Proponents argue that DGC presents a accurately global and borderless world currency system which is free of exchange rate variations and politic

Culture and society, Culture and society are intricately related. A cultur...

Culture and society are intricately related. A culture consists of the "objects" of a society, whereas a society consists of the people who share a common culture. When the terms

Linguistic anthropologists, Linguistic anthropologists: Linguistic anthrop...

Linguistic anthropologists: Linguistic anthropologists, representing one of the discipline's traditional branches, look at the history, evolution, and internal structure of human

Flexible manufacturing system, Flexible Manufacturing Systems (FMS) are an ...

Flexible Manufacturing Systems (FMS) are an important step on the way to the fully automated factory. Discuss the above statement and outline the types of flexible manufacture and

Forms of art in america, Forms of Art in America: Forms of Art means the t...

Forms of Art in America: Forms of Art means the type of artwork such as drawing, painting, sculpture (carving, modeling, assemblage and construction) architecture, printmaking, el

What is cognitive neuroscience, Cognitive neuroscience is a fairly young bu...

Cognitive neuroscience is a fairly young but rapidly growing discipline of science that aims at solving the intriguing question of how the brain (or, more generally, the body) give

Reconciliation, Outline the development and progression of reconciliation, ...

Outline the development and progression of reconciliation, Other Subjec

Library science, what are the challenges faced when cataloguing periodical ...

what are the challenges faced when cataloguing periodical publications?

SHRM, STRENGHTS AND WEAKNESS OF BEST PRACTISE MODELS OF HRM STRATEGY

STRENGHTS AND WEAKNESS OF BEST PRACTISE MODELS OF HRM STRATEGY

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