Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
# ToolBox-WordFrequency
Word Frequency Analysis Project Toolbox starter code
Word Frequency Analysis Project Toolbox

The Basics:

Returns a list of the top 100 most common words in a .txt file (currently The Adventures of Alice in Wonderland) from Project Gutenberg


To Run Code:

In the terminal run python frequency.py


To Understand/Change Code:

To run this code on another piece of text from Project Gutenberg place the new .txt file in the same folder as this script and update the text name in line 69.

Note that this code can be run on other files, but we attempt to clean the Gutenberg book files (line 24) and extra code is needed to convert non-txt files to .txt

Full instructions at https://sites.google.com/site/sd16spring/home/project-toolbox/word-frequency-analysis

Loading