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

Applicability of Factory Act 1948, As">http://www.delhi.gov.in/wps/wcm/conn...

As">http://www.delhi.gov.in/wps/wcm/connect/doit_labour/Labour/Home/Acts+Implemented/Summary+of+the+Acts+Implemented/The+Factories+Act-1948 As per above site of Government of Ind

African studies, Compare and contrast the European Slave Trade with "intra-...

Compare and contrast the European Slave Trade with "intra-African" slavery/servitude (slavery/servitude practiced on the African continent between Africans). Discuss the relevance

Research Critique Part 1, Ask Prepare a critical analysis of a qualitative ...

Ask Prepare a critical analysis of a qualitative study focusing on the problem statement, study purpose, research question, literature review, and theoretical framework. This can b

Functions of the occupational safety and health inspectors, Question 1: ...

Question 1: What are the functions of the Occupational Safety and Health Inspectors? Question 2: (a) What are the main purpose and objectives of the Occupational Safety

Describe structural functionalist theory, 1) Describe Symbolic Interaction ...

1) Describe Symbolic Interaction Theory. Explain and discuss how it views a) religion, b) politics/economics, and c) medicine. 2) Describe Structural Functionalist Theory. Expla

Water quality division wqd, Water Quality Division (WQD): The Water Qualit...

Water Quality Division (WQD): The Water Quality Division (WQD) restores and protects the surface and ground waters of the District through: setting and enforcing water quality sta

NEED HELP ASAP, These essays should be a minimum of five paragraphs in leng...

These essays should be a minimum of five paragraphs in length each. They should contain a clear thesis statement in the first paragraph (an answer to the question!). Make sure your

Composition 2, 1. explain why it is important to put observations in writin...

1. explain why it is important to put observations in writing. How can observation enrich our writing? 2. At what point could making an observation halt or obstruct the writing pr

Distinguish between the engender and term gender, Question 1: (a) Expl...

Question 1: (a) Explain the different concepts of culture. (b) According to you, how is culture related to anthropology? Question 2: The 2009 presidential election

Environmental assessment:, Environmental Assessment: An environmental asse...

Environmental Assessment: An environmental assessment is a study needed to establish all the influence either positive or negative regarding one particular project. It will contai

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