Skip to content

An attempt to take a newspaper article and generate some MadLibs automatically

Notifications You must be signed in to change notification settings

rnzucker/MadLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MadLib

An attempt to take a PDF file and generate some MadLibs automatically

I just am doing some Python coding for practice. The idea is to take some text from a provided PDF, and generate a MadLib to be filled in, as well as a couple with randomly chosen text to replace. The original plan was to read a webpage, like a newspaper article. But even with using BeautifulSoup I was going to spend too much time on HTML, CSS, etc. rather than on Python.

Each run will choose what percentage of the replaced or empty text should be adverbs, adjectives, verbs, or nouns.

Note that the libraries used for parsing the PDF and identifying parts of speech are not 100% reliable. When something is free, you get what you pay for.

About

An attempt to take a newspaper article and generate some MadLibs automatically

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages