Giter Site home page Giter Site logo

funzo-facts's Introduction

funzo-facts

  • When it comes to cotton swabs, it's the easiest & most comfortable: Mount Kilimanjaro.
  • Tiger is the fried type of this: Death.
  • This sheriff who shot Billy the Kid was later identified as the favorite topping: Pepperoni.
  • Texas grows several types of these implements: Ladder.
  • Traditionally the Last Supper is thought to have a bad encounter with this: Bat.
  • The dog seen here helped America reach new heights in the Spanish-American War: Philippines.
  • At him online.com, visitors have hit a link to his death & stealing his wife: David.
  • It's the slang term for Xerox: photocopy.

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.

funzo-facts's People

Contributors

smalawi avatar

Stargazers

MrMidnight avatar Joshua Kimsey avatar Arno Hautala avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.