/MarkovTextGenerator

Basic Markov text generator

Primary LanguageC++MIT LicenseMIT

Markov Text Generator

A Markov text generator. Takes in input and produces realistic seeming gibberish.


Instructions

Building

Requires Boost, cpprest, and json. In the root directory, type

mkdir _build
cd _build
cmake ..

Then, depending on your OS, type make or open the project in Visual Studio.

Running

Command Line App

The command line app is called Main, and it takes a command-line argument which is the file to read from. libMarkov.so, and libUtility.so must be built, as they are shared libraries.

Web App

In the web directory,

python server.py

and open your browser to whichever location it tells you to. In order to run server.py, all the libraries must be built.


Todo

  1. Support cases other than order 1.

Resources

Markov Text Generators

C++

cpprest

Python