garbageman / sports-autogen

⚽ Generate generic post-game sport interview responses.

Home Page:sports-autogen.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sports-Autogen

This small webapp uses Markov chains to generate short, post-game interview soundbites that one would hear on ESPN.

See it live!

While watching the 2016 Olympics, I noticed that all of the athlete post-competition interviews sound very generic and similar. Generally, all post-game interviews for any sport use plenty of cliches, making it a perfect application for demonstrating the beauty of Markov Chains.

Sample output:

We have to shore up their offensive production. We're tickled to contain them. Execution wise we really gave it is possible. We have a tremendous work ethic. They have kept their heads up through the difficult times. We have to play with their mental toughness. They’ve come together as best and had a tough but not break. We have to stick to their bread-and-butter offense.

Install

Requires NodeJS 6.x.x

git clone https://github.com/bekher/sports-autogen

npm install

Usage

Start with:

npm start

If running locally, browse to localhost:3333/ to access the web UI. Browse to /gen to access the raw quote generator API.

Cliche Sources

Sample quotes found in interviews.txt are modified or copied from the following sources:

About

⚽ Generate generic post-game sport interview responses.

sports-autogen.herokuapp.com

License:GNU General Public License v3.0


Languages

Language:JavaScript 51.6%Language:HTML 37.8%Language:CSS 10.7%