Text Analysis of books from Project Gutenberg
Interesting analyses of books from Project Gutenberg. Use a book with demarcated chapters if you wish to look up which chapter a quote comes from, or be able to track the progression of a word over chapters.
git clone git@github.com:shinjinighosh/project-gutenberg-text-analysis.git
cd project-gutenberg-text-analysis
.txt
or other text file into the directory. Remember to clean headers and footers which are not a part of the book (like publishing information, synopsis, etc.)python analyse_interactive.py
(or python3 analyse_interactive.py
, depending on your path) and enjoy! (Remember to correctly state the relative file path of your book, e.g., Books/863.txt
)