Skip to content

AliceMGao/Python_matplot_novel

Repository files navigation

Python_matplot_novel

alphabet-bar-chart.py is a simple python application for graphing a novel, to represent the general probabilities of a letter appearing in each novel, thus graphing the prevalence of each letter in the English language.

Users can select between four novels, or they can pick their own novel from the Gutenberg library, by copying the URL of the plain text UTF-8 text version of said novel into the program. After which the program will prompt the user for which option they wish to use with the novel in question, to find the probability of a certain letter in the novel, graph all the letter probabilities in the novel, save a copy or exit the program. The gif above demonstrates the program working using Jules Verne’s Twenty Thousand Leagues under the Sea, and it will run with any novel available on Gutenberg in plain text. Below is a sample of the main four novels the program can graph on default.

Disclaimer

Project Gutenberg is a library of over 60,000 ebooks that are free to access for all people, it focuses on older works that have expired by U.S. Copyright laws. I claim no ownership of their resources, only for the code I've written and commented on to run this small program.

About

A simple python application for graphing a novel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages