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

Anthropology, Anthropology- The word anthropology itself tells the basic st...

Anthropology- The word anthropology itself tells the basic story. From the Greek anthropos ("human") and logia ("study"), it is the study of humankind, from its beginnings millions

Social geography, Social Geography: Social geography is the branch of huma...

Social Geography: Social geography is the branch of human geography that is most closely related to social theory in general and sociology in particular, dealing with the relation

Socio-economic development., utilising practical examples from developing c...

utilising practical examples from developing countries examine the ways in which informalization of the economy can impact on a nation''s socio-economic development

Innovation case study, a case study about innovation for design and techno...

a case study about innovation for design and technology

Phillosophy, Report an example of a euphemism or dysphemism that you have c...

Report an example of a euphemism or dysphemism that you have come across. Discuss when it is and is not appropriate to use such veiled language.

Assessment of Teaching , Hi, My work need to: - Answer the questions in Ass...

Hi, My work need to: - Answer the questions in Assignment A from 1 to 3. (Please use the references in the attachments only) - Design and Development a survey form in accordance wi

Paleoanthropology, Paleoanthropology : Paleoanthropology is the scientific ...

Paleoanthropology : Paleoanthropology is the scientific study of human evolution. Paleoanthropology is a subfield of anthropology, the study of human culture, society, and biology.

Aaron Feuerstein, AskExplain why Aaron Feuerstein felt his decisions were n...

AskExplain why Aaron Feuerstein felt his decisions were necessary for his company and for his employees. Discuss the pros and cons of Aaron Feuerstein''s decision making, and ex

Japan Tsunami Spatial distribution, im doing a assessment on japan tsunami ...

im doing a assessment on japan tsunami 2011 and I need to describe spatial distribution and I don''t understand

Solution-focused brief therapy, Problem 1 Solution-Focused Brief Therap...

Problem 1 Solution-Focused Brief Therapy is most dissimilar in terms of underlying philosophy and assumptions with any approach which needs "working through" or intensive focu

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