Markov chain text generator in Rust
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
Cargo.lock
Cargo.toml
README.md
alice.txt

README.md

markov_rs

A simple implementation of a Markov chain text generator in Rust.

Usage

Requires Rust.

Build with:

cargo build --release

Then provide input text via standard in and the maximum number of words to generate as an argument:

cat alice.txt | ./target/release/markov_rs 20