Skip to content

theharshpat/book-to-wordcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

book-to-wordcloud

This tool can be used to generate a word cloud by providing the public domain book name. Book name will be searched from project gutenberg's website and appropriate book will be downloaded in text format. After downloading the book in text format, licence information is removed for better accuracy. Book text will be processed and based on the frequency of each word, word cloud will be generated as "image.png" file in the working directory.

Installation

Activate python virtualenv and run following command to install the requirements:

pip install -r requirements.txt

Usage

After activating the virtualenv, run the script file with book name:

python script.py [book name]

After running the script, book will be downloaded in text format, will be processed and word cloud image will be generated in current directory.

Screenshot

Screenshot 2021-11-13 at 10 56 58 PM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages