Skip to content

A random text generator using Markov chains in Rust

License

Notifications You must be signed in to change notification settings

BookOwl/rusty-markov

Repository files navigation

rusty-markov

A random text generator using Markov chains.

Implemented in Rust for this blog post.

Building

  1. Install Rust and Cargo
  2. Clone this repo and cd into it
  3. Run cargo build --release
  4. Copy target/release/markov to somewhere on your path

Usage

    markov [OPTIONS] <CORPUS>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -s, --sentences <SENTENCES>    Sets how many sentences to generate
    -w, --words <WORDS>            Sets how many words to generate

ARGS:
    <CORPUS>    Sets the text corpus to use

License

See LICENSE.txt

About

A random text generator using Markov chains in Rust

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages