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

#comppiler construction, Write semantic rules which convert Octal number to...

Write semantic rules which convert Octal number to decimal number for the following CFG. Also draw & evaluate the parse tree for the string (430507)8 Given CFG

Property - term of wide signification, 'Property' is a Term of Wide Signifi...

'Property' is a Term of Wide Signification Leaving aside for a moment the issue of moral limitation, it is clear that the perspective of excludability has an otherwise liberati

Research methodology, explain the steps involved in research process

explain the steps involved in research process

Sociological theories of religion, Sociological Theories of Religion: Each...

Sociological Theories of Religion: Each main sociological framework has its perspective on religion. For example, from the functionalist perspective of sociological theory, religi

Self-interest in morality, How would two contrasting thinkers respond to qu...

How would two contrasting thinkers respond to question of the role of self-interest in morality? (Hint: Kant and anyone?) When it comes to the issue of right and wrong; individu

Explain the skills and attitudes, Problem: It is important to show peop...

Problem: It is important to show people that you are paying close attention, that you care, and that you are actively listening. The better the helper listens, the more the ind

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