Skip to content

Files

Latest commit

cfe1d3b · Nov 1, 2018

History

History
8 lines (4 loc) · 471 Bytes

File metadata and controls

8 lines (4 loc) · 471 Bytes

Challenge: Shakespeare Word Frequency

Write a program that reads in the collective works of William Shakespeare and prints out the top N most frequently occurring words. Take care in dealing with punctuation and letter case.

Modify the program so that a list of "stop words" can be supplied which are ignored in the counts. e.g. ignore common articles such as "a" and "the".

See: Project Guttenberg for Shakespeare text