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

Formalist - substantivist debate, Formalist - Substantivist debate Form...

Formalist - Substantivist debate Formalist-Substantivist debate is the dispute in ECONOMIC ANTHROPOLOGY between those scholars who argue that formal rules of neoclassical econo

Analysis of business applications, Analysis of Business Applications: ...

Analysis of Business Applications: Designation : Consultant,Faculty Job Profile : The work included Training, leading the Team, designing, developing and documenting

Global Studies Question, How did Southeast Asians react to contact with ma...

How did Southeast Asians react to contact with many different religions?

Social studies, In respone to the navigation acts and other colonial restri...

In respone to the navigation acts and other colonial restrictions some colonis

Details about smart card, DE T AIL S ABOUT SMART CARD The automatic ...

DE T AIL S ABOUT SMART CARD The automatic chip card was make-believe by German rocket scientist Helmut Gröttrup and his colleague Jorgen Dethloff in 1968; the copyright was

Managing communication , Chose an education institute which has not yet dep...

Chose an education institute which has not yet deployed a fully integrated management information system and design a “Learning management information system” to ensure efficient a

Defense in depth strategy - information security, Defense in Depth        ...

Defense in Depth                                        Information security must keep information throughout the life span of the information, from the original creation of t

Calculus, can a curve has node and cusp at same point?

can a curve has node and cusp at same point?

Management of Care Process, Dubai Health Authority had established a missio...

Dubai Health Authority had established a mission “Towards a healthier and happier community”. While aiming to achieve this, conduct a SWOT analysis for the healthcare sector in Dub

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