Skip to content

A simple Markov's chain bot to generate fake Janusz Piechocinski sentences.

License

Notifications You must be signed in to change notification settings

RedC4ke/PiechocinskiBot

Repository files navigation

PiechocinskiBot

A simple Markov's chain bot to generate fake Janusz Piechocinski sentences with the use of Markovify and spaCy Python libraries.

Implementation: https://facebook.com/piechocinskibot

Usage:

  1. Put your text into "src/sources.txt" file.
  2. If you want the app to post regular messages to your Facebook page, you'll need to put environmental variables such as Graph API secret token and Graph API User Token.
  3. Run the ModelFactory script.
  4. Run the app.

If you want to just preview the sentences, you can use the demo script. Docker build script should work for everyone, but you may want to change deployment script, as it is designed to use remote Azure container from my local machine.

About

A simple Markov's chain bot to generate fake Janusz Piechocinski sentences.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published