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

Linear programming, #question.A paper mill produces two grades of paper viz...

#question.A paper mill produces two grades of paper viz., X & Y. Because of raw material restrictions, it cannot produce more 400 tons of grade X paper & 300 tons of grade Y paper

Writing research hypotheses, Variables are concepts that can be observed to...

Variables are concepts that can be observed to vary. There are four levels of measurement of variables. 1. Nominal 2. Ordinal 3. Interval 4. Ratio Nominal variables are cate

Describe what you understand by verbal support, Question: (a) A present...

Question: (a) A presentation might fascinate, bore or irritate the audience. Explain the important criteria you would analyse for a successful presentation. (b) Describe

Use of multi-media and information technology, QUESTION 1 1 What are yo...

QUESTION 1 1 What are your views on the importance of e-learning as compared to the traditional teaching and learning approach? 2 Discuss the influence of the use of multi-m

Documentary film, Documentary Film: Documentary film is a broad category o...

Documentary Film: Documentary film is a broad category of visual expression that is based on the attempt, in one fashion or another, to "document" reality. Although "documentary f

Need matlab code, I am doing project in PULSED OFDM FOR ULTRA WIDE BAND COM...

I am doing project in PULSED OFDM FOR ULTRA WIDE BAND COMMUNICATION .I need matlab code for it

Managing energy sources.., Looking at the properties in the United Kingdom ...

Looking at the properties in the United Kingdom and Bulgaria from the Hand-in Assignment in Week 2, select one of the regions and conduct an analysis of potential energy suppliers

Formulate a new strategy, #question.c) List and explain 2 strengths of usin...

#question.c) List and explain 2 strengths of using the BCG Matrix as a planning tool and technique.

Inventory and operations management, need to select one of the following: p...

need to select one of the following: process design,capacity,inventory or quality & present a detailed technical analysis of a specific project that a company undertook to improve/

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