Generate word combinations like in xkcd.com/936
Marcus Rohrmoser f93dbc45d9 'xkcd936.opam' löschen | 3 سال پیش | |
---|---|---|
bin | 3 سال پیش | |
lib | 4 سال پیش | |
test | 4 سال پیش | |
.gitignore | 4 سال پیش | |
.ocamlformat | 4 سال پیش | |
Makefile | 4 سال پیش | |
README.md | 3 سال پیش | |
deploy.sh | 3 سال پیش | |
doap.rdf | 4 سال پیش |
Generate random word combinations from a linefeed-separated list words.txt
like
e.g. from https://codeberg.org/davidak/wortliste
$ ./xkcd936
Kartoffelkäferbefall-Altersteilzeitregelung-auseinanderbersten-Gezücht
If that sounds odd, see https://xkcd.com/936/
Caution: this approach has a statistical bias toward longer words but avoids to actually read the wordlist (O(1), sic!), so it may be as big as you like.