Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.18 KB

README.md

File metadata and controls

34 lines (28 loc) · 1.18 KB

-make_markov_debate_again-

Who doesn't love a markovbot seeded with a transcript of the presidential debate? I do

from dockerhub

  1. all texts: docker pull edyesed/make_markov_debate_again
  2. just the debates: docker pull edyesed/make_markov_debate_again:debate_latest

Reference materials for the text

======= 0. Politico

  1. latimes
  2. http://www.realclearpolitics.com/
  3. https://www.hillaryclinton.com/speeches/

to run ( easiest, slack )

  1. Setup an incoming webhook. note the URL
  2. docker pull edyesed/make_markov_debate_again
  3. docker run -e "SLACK_WEBHOOK=url_from_above" -it edyesed/make_markov_debate_again

To run (easy, slack)

  1. Setup an incoming webhook. note the URL
  2. docker build -t pyapp:1 .
  3. docker run -e "SLACK_WEBHOOK=url_from_above" -it pyapp:1

To run (easy, local)

  1. docker build -t pyapp:1 .
  2. docker run -it pyapp:1

To run (hard)

  1. virtualenv ~/virtualenvs/markov
  2. source ~/virtualenvs/markov/bin/activate
  3. pip install -r requirements.txt
  4. ./parse_transcript_markov.py
  5. ./back-and-forth.py