https://github.com/dluman/markov
A flexible, all n-gram Markov chain-based text generator implemented in the Rust language.
https://github.com/dluman/markov
Last synced: 3 months ago
JSON representation
A flexible, all n-gram Markov chain-based text generator implemented in the Rust language.
- Host: GitHub
- URL: https://github.com/dluman/markov
- Owner: dluman
- License: unlicense
- Created: 2017-06-12T14:59:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-04-11T23:17:24.000Z (about 5 years ago)
- Last Synced: 2025-01-17T05:41:43.211Z (5 months ago)
- Language: Rust
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A Rusty Chain
[](https://travis-ci.com/dluman/markov)
A flexible, all n-gram Markov chain-based text generator. This used to be in Python, and then I decided to learn Rust. Hence, this code isn't "idiomatic" in the way that it may eventually be. However, it works for my personal purposes as of now.
## Notes on usage
This (currently) requires three parameters:
* Text file to read
* Order to use to create chain
* Integer
* Number of characters to generate
* Integer
Once compiled, its standard usage is:```bash
./markov {TEXT} {ORDER} {CHARACTERS TO GENERATE}
```## Watch This Space
See above.