afairon / markov-cpp-playground

Playground for playing around with word prediction.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Markov Chain Playground

Overview

Markov Chain Playground is for experimenting markov chain. It is a web-based application where the use will be able to train a model a predict words. And the user will also be able to generate random text.

Supported Platforms

  • GNU/Linux
  • MacOS
  • Windows (experimental)

Dependencies

  • C++ compatible compiler (gcc/clang)
  • make
  • cmake
  • Boost
  • cpprestsdk

Build

Debug

$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Debug ..
$ make

Release

$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make

Run

$ ./build/markovplay <input file>
Listening on http://127.0.0.1:34568/
Waiting for incoming connections...

Example

image

About

Playground for playing around with word prediction.

License:MIT License


Languages

Language:C++ 73.3%Language:JavaScript 14.9%Language:HTML 9.7%Language:CMake 2.1%