Home

Awesome

funzo-facts

Interested in expanding your trivia knowledge? No? Look no further than funzo-facts. The above misinformation was generated by this program, which makes use of a large corpus of Jeopardy! questions and answers (hence the question-answer format) and Markov chains via the Markovify library.

Usage

Locally:

from funzo_fact_gen import FactGenerator

...

fg = FactGenerator()
print fg.get_fact()

Our team won 55-0--you could call it Bahia de Cochinos; we call it this: the skin.

Importing the Jeopardy! .csv doesn't take terribly long, but a pickle of the dataframe is provided anyway.

See example_script.py for a sample (python 2.7).

Hall of Fame

Have any particularly enjoyable facts you'd like to share? Feel free to add to hall_of_fame.md.