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

Leadership, Ask questioThe initial investment in the project is estimated t...

Ask questioThe initial investment in the project is estimated to be $210,000 in year 0 of the project. Terra Nova Inc. requires a discount rate of 11%. It is anticipated project fu

Ottoman empire, what was the condition of the ottoman empire at the beginni...

what was the condition of the ottoman empire at the beginning of the 20th century

Draw on the implications from phonology and orthography, During this course...

During this course, you have reflected on, read about, and discussed ways that phonology, orthography, morphology, and syntax can be used in lesson planning and teaching ELLs. In t

What are the characteristics of a creative thinker, QUESTION 1 (a) How ...

QUESTION 1 (a) How would define creativity? (b) What are the characteristics of a creative thinker? (c) Describe the 5 important steps in the creative process QUESTIO

White test, What might be a problem with the White test in this application...

What might be a problem with the White test in this application? What is a possible solution? Answer: This test may have some problems when the number of regressors in the initi

What led to the founding of the united nations organisation, QUESTION 1 ...

QUESTION 1 What led to the founding of the United Nations Organisation in 1945? Analyse critically two of its main objectives namely (i) the settlement of dispute by peaceful m

How do you write a profile of someone, how do you write a profile of someon...

how do you write a profile of someone. please give suitable profile titles. i have to write a profile on bishop poleni. we have never ever written profiles before in class and my e

Explain what is meant by counselling, Question 1: (a) With reference to...

Question 1: (a) With reference to literature and/or theories, explain what is meant by counselling. (b) Show six characteristics which counsellors display while conducting c

Security considerations in electronic fund transfer, SECURIT Y CONSIDERATI...

SECURIT Y CONSIDERATIONS Informatio n security is a way of protecting information and information systems from illegal use, disclosure, access, disruption, destruction or m

Research project, 1. Title 2. Background 3. Problem statements 4. Research ...

1. Title 2. Background 3. Problem statements 4. Research questions 5. Objectives 6. Literature review 7. Hyperthesis 8. Methods/Plan 9. Conclusion 10.References

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