2017-05-05 Work on this over the weekend.

posted May 5, 2017, 11:04 AM by Samuel Konstantinovich   [ updated May 5, 2017, 12:04 PM ]


Homework: 
(At this point this is a solo assignment. Take the code you wrote with your partner, and add to it!)

Complete the Book analysis lab and make a website 

public_html/05/wordcount.py  (the website should work and print out like mine)

like this:
or

The table of all words should be last, but you can use that to help you check for correctness.


1. Title

2. General Stats
x characters in the text file.
x words in the book. (total, not unique)
? unique words in the book. (all words converted to lower case)
? words that are used over 250 times (repeated words)
? words that are used once (unique words)
? words that are over 15 letters long (long words)

3. Long words:
[' MAKE A LIST OF THEM AND PRINT HERE']

4. All words in the book: (in a table)
ID Word count
0 10,000,000 1
1 12 1
...
...

Comments