Giter Club home page Giter Club logo

markov-bot's Introduction

Markov chain tg bot

A telegram bot that uses markov chains to learn to speak like your groups users.

How it works

The bot trains each message into a markov chain, and can be configured to send messages at a time interval. It's like your little mascot / friend who tries to imitate you.

Usage

  1. build the binary
  2. you can edit the templateRunScript.sh to run the bot with your args.

Project Structure

├── handlers.go -- most of the bot logic is in here
├── init2.txt -- contains some starting messages to train the bot on, can edit this or remove it all together for a completely dumb start.
├── main.go
├── markov
│   └── markov.go -- markov chain training and message generation
├── README.md
└── templateRunScript.sh

markov-bot's People

Contributors

popfendi avatar

Watchers

 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.