To generate a word cloud from a pdf, add the name of the pdf in main.py. Also, provide the starting page number & the ending page which the word cloud generator should consider.
Here are some examples
The pdf of Indian Constitution was downloaded from the website of Ministry of Law and Justice (Legislative Department).
Animal farm and Pride & Prejudice were downloaded from the website of Project Gutenberg
Python
PyPDF2(https://github.com/mstamy2/PyPDF2)
word_cloud(https://github.com/amueller/word_cloud)