Experiments into markov chains, n-grams, and text generation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Starbeamrainbowlabs e08c8a2942
2 months ago
MarkovGrams Bugfix: Correct word-level flat n-gram generation 4 months ago
wordlists Add Starbound blocks and items list 2 months ago
.gitignore Initial commit. I think this si worth keeping in it's entirety! 1 year ago
LICENSE Initial commit 1 year ago
MarkovGrams.sln Initial commit. I think this si worth keeping in it's entirety! 1 year ago
README.md Grammar 2 months ago



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 this project should be easy - I can provide prebuilt binaries upon request though if asked (see my website for contact information).


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.


Detailed usage help can be seen by simply running the tool without any arguments:


Linux users might need to explicitly run it with mono:

mono ./MarkovGrams.exe


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! This list falls under the Mozilla Public License 2.0, as described below in the license section.
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 :-)
No-Mans-Sky-Items.txt List of items in No Man’s Sky Yep, you guessed it. Don’t own this. Bash available in wordlists/download.sh - I had a bit of trouble with this one, and had to use an awkward hack or two.
Starbound.txt List of blocks and items in Starbound From the Official Wiki - I don’t own it, I just wrote the scraper :P



This repository (except where stated above - the wordlists except the science words) is licensed under the Mozilla Public License 2.0 (MPL-2.0). A copy of the license text can be found in the LICENSE file in this repository, and tldr-legal have a summary if you can’t speak legalese :-)