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

Cognitive behaviour therapy, Cognitive Behavioural Therapy, usually shorten...

Cognitive Behavioural Therapy, usually shortened as CBT, is a very practical treatment in which therapist and client work together collaboratively. It centres on the understanding

Lifestyle, Lifestyle: Lifestyle is a way of living of individuals, familie...

Lifestyle: Lifestyle is a way of living of individuals, families (households), and societies, which they manifest in coping with their physical, psychological, social, and economi

#title governance and leadership skills development, #question.(a)examine t...

#question.(a)examine the role of governance on development projects in rural areas.(b)explain how leadership influence governance in public sector.

Science, what is nuclear fission?

what is nuclear fission?

Explain the underlined statement, The basic qualities of acceptance and con...

The basic qualities of acceptance and concern for others, recognition of the worth of each individual, truthfulness, honesty, self awareness, goodwill, tolerance and caring are des

Explain the ageing process, Problem: The existing welfare state has mad...

Problem: The existing welfare state has made provisions for the protection and welfare of the elderly. (a) Show the adequacy of these provisions. (b) What changes would y

Music 101, Ask que Question 1 An important event during the Renaissanc...

Ask que Question 1 An important event during the Renaissance was the development of printing from movable type. True False stion #Minimum 100 words accepted#

Technology, Why does Cowan believe it is important to examine technologies ...

Why does Cowan believe it is important to examine technologies in the context of technological systems? What advantage does this broader perspective give to planners? Give a specif

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.

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