Experiments into markov chains, n-grams, and text generation.
MarkovGrams | ||
wordlists | ||
.gitignore | ||
LICENSE | ||
MarkovGrams.sln | ||
README.md |
MarkovGrams
Experiments into markov chains, n-grams, and text generation. This repository is the result of the markov chain blog post mini-series on my blog.
Building
Building this project should be easy - I can provide prebuilt binaries upon request though if asked (see my website for contact information).
Windows
Open the solution in Visual Studio / MonoDevelop and hit build.
Linux and everyone else
As above with MonoDevelop, or simply use the command xbuild
whilst inside the root of the repository.
Using
Detailed usage help can be seen by simply running the tool without any arguments:
./MarkovGrams.exe
Linux users might need to explicitly run it with mono
:
mono ./MarkovGrams.exe
Wordlists
The wordlists/
directory contains a few interesting wordlists I used when writing and testing this program.
Filename | Contents | Comments |
---|---|---|
colours.txt |
List of colours | Built with a sneaky bit of Javascript in the developer tools of this webpage from colorhexa, which turns out to be a really useful website about colours. |
Science Words.txt |
List of cool sciencey-type words | Compiled from scratch by Starbeamrainbowlabs - that's me! |
Cross-Code-Items.txt |
List of items in Cross-Code | A list of all items in the game CrossCode. Scraped from here by a clever bit of bash in wordlists/download.sh . I obviously don't own any of these names. |
Final-Fantasy-15-Items.txt |
List of items in Final Fantasy 15 | Another list of in-game items - this time from Final Fantasy XV. Scraped from this wiki page and related pages. The even cleverer bit of bash that does this is also in wordlists/download.sh . Again, I don't own any of these :-) |
Credits
- The code was written by Starbeamrainbowlabs - that's me too!
- I found the Markov Chain Text Generation post by Chris Wellons rather useful when writing this.
- Wordlists