https://github.com/nnichols/dj-marky-markov
A Markov Chain to generate written text from a known corpus
https://github.com/nnichols/dj-marky-markov
markov-chain text-generator
Last synced: 8 months ago
JSON representation
A Markov Chain to generate written text from a known corpus
- Host: GitHub
- URL: https://github.com/nnichols/dj-marky-markov
- Owner: nnichols
- License: epl-1.0
- Archived: true
- Created: 2019-01-22T20:46:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-01-03T20:45:03.000Z (over 1 year ago)
- Last Synced: 2025-03-26T01:16:50.856Z (about 1 year ago)
- Topics: markov-chain, text-generator
- Language: Clojure
- Size: 1.18 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# dj-marky-markov - Markov Chain text generation in Clojure
[](https://clojars.org/dj-marky-markov)
[](https://versions.deps.co/nnichols/dj-marky-markov)
[](https://cljdoc.org/d/dj-marky-markov/dj-marky-markov/CURRENT)

> Yo DJ, play that song for me.
> Make it how I like that's how its got to be 'cos see-
> I need a song with the funk intact.
>
> - Mark "Marky Mark" Wahlberg
## Archival
This project was a pet project I took on while learning clojure, I sincerely hope you weren't relying on it in production!
To free myself of automated alerts/dependency updates/etc, I'm archiving the repository as of 2025-01-03.
## Installation
Clone this repository to your local machine.
## Usage
To see how the application works, try executing it:
```bash
~/dj-marky-markov (master)
$ lein run ./test/dj_marky_markov/test.txt 3 10
```
Shortly after, you should see results like the following printed back to you in stdout:
```txt
And that's when it becomes fun - you just let it play back-and-forth.
Let all these little delicate things.
What the devil.
We'll put a touch more of the brush and let it go.
We'll put a touch more of the land.
Look at them little rascals.
That's your challenge for the day.
Just use the old one inch brush.
Christmas tree things we used to make it that way.
I may have to see things when you're doing doesn't make you happy - you're doing these little things in your heart.
```
If your results sound eerily familiar to [everyone's favorite painter,](https://en.wikipedia.org/wiki/Bob_Ross) then everything is set up correctly!
## Automated Build And Repository Information
Code Coverage reports via [Cloverage.](https://nnichols.github.io/dj-marky-markov/coverage/index.html)
## Licensing
Copyright © 2019 - 2025 [Nick Nichols](https://nnichols.github.io/)
Distributed under the [Eclipse Public License Version 1.0](https://www.eclipse.org/legal/epl-v10.html)