Generate word combinations like in xkcd.com/936
Marcus Rohrmoser f93dbc45d9 'xkcd936.opam' löschen | il y a 3 ans | |
---|---|---|
bin | il y a 3 ans | |
lib | il y a 4 ans | |
test | il y a 4 ans | |
.gitignore | il y a 4 ans | |
.ocamlformat | il y a 4 ans | |
Makefile | il y a 4 ans | |
README.md | il y a 3 ans | |
deploy.sh | il y a 3 ans | |
doap.rdf | il y a 4 ans |
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.