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

Briefly explain what is e-trading, Question: a) In the context of e-b...

Question: a) In the context of e-banking or e-commerce, outline some of the risks associated with informational websites and transactional websites. b) In addition to tr

Management Information Systems, Does the experts have any knowledge with MI...

Does the experts have any knowledge with MIS and security issues

Humanities, (TCOs 3 & 4) How have changes in technology affected the record...

(TCOs 3 & 4) How have changes in technology affected the recording industry and our understanding of what it means to be a professional musician? How have changes in technology aff

Human Resource, Company A wants to discourage unionization through the Unit...

Company A wants to discourage unionization through the United Technical Workers of America. True or False: In order to do so, it can initiate an organizing campaign for the Technic

How internet relevant to e-commerce, HOW IS THE INTERNET RELEVANT TO E-COMM...

HOW IS THE INTERNET RELEVANT TO E-COMMERCE? The Internet allows public from all over the world to get connected economically and reliably. As a technological infrastructure, it

Future trends in integrated library systems, Future Trends in Integrated Li...

Future Trends in Integrated Library Systems: The definition of an integrated system is starting to change from a system that shares bibliographic records amongst modules and local

Bible 364, Is there anyone who can help with a course in religion? I am hav...

Is there anyone who can help with a course in religion? I am having terrible difficulty with thematic panels

World geography, what is the relationship between physical and human charac...

what is the relationship between physical and human characteristics of a place

Write a note on ''political thought'', Question 1 Explain the socio - cult...

Question 1 Explain the socio - cultural changes that took place due to the process of Westernization. Question 2 Write a note on 'Political Thought' Question 3 Exp

How to get connect with online tutor, How to get connect with online expert...

How to get connect with online expert for help in assignment?

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