State of the union code, Other Subject

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

Examples include sports game data, weather statistics, name statistics, etc.

Posted Date: 3/15/2013 1:52:26 AM | Location : United States

Related Discussions:- State of the union code, Assignment Help, Ask Question on State of the union code, Get Answer, Expert's Help, State of the union code Discussions

Write discussion on State of the union code
Your posts are moderated
Related Questions
Ageing and Health: Ageing, irreversible biological changes that occur in all living things with the passage of time eventually result in death. Although all organisms age, rates o

QUESTION 1 (a) Write a paragraph on each of the under mentioned facets of the Psyche according to Freud i.The Id ii.The Ego iii.The Superego (b) Explain how the con

hi i had ask two questions to interviewee related to my topic that is conducting job interviews structure, approach and resumes and the questions are 1. What type of interview str

Art after 1945: The art after 1945 is the art generated at the present point in time. Some art museums & collections describe contemporary art as including all art since the end o

Interest Charges Credit card issuers frequently put aside interest charges if the balance is paid in full every month, but usually will charge full attention on the whole outst

REVIEW THE FOLLOWING TOPICS FOR THE UNIT TEST #3 ROI - guidelines for release, consents, etc... Numbering systems Microfiche/microfilm storage Filing – what is more efficient & wha

Question 1: (a) What is an attitude? (b) In what circumstances do attitudes determine behaviours at work? Question 2: Understanding personalities in the workplace is

Ask question #MiniCompare and contrast German Nazism and Stalin’s Soviet Communism (Stalinism). What were the similarities and differences between these two political ideologies? U

The assessment provides the student with the opportunity to critically evaluate effectiveness of clinical nursing leadership (CNL) and discuss how they may apply effective CNL as a