Mercurial > repo
view paste/paste.11507 @ 2364:75c80c422f30
<Jafet> sed -i "2 s#.*#import random; w=[l.split() for l in open(\'/dev/stdin\').read().split(\'\\n\')]; r=[4,7,8,9,2,13,6]; print \'\\n\'.join((lambda s: \' \'.join(chr(3) + str(r[(i+s)%len(r)]) + l[i] for i in range(len(l)))(random.randrange(0, len(r))))#" $(which rainwords)
author | HackBot |
---|---|
date | Mon, 04 Mar 2013 10:31:19 +0000 |
parents | e037173e0012 |
children |
line wrap: on
line source
Usage: words [-dhNo] [DATASETS...] [NUMBER_OF_WORDS] valid datasets: --eng-1M --eng-all --eng-fiction --eng-gb --eng-us --french --german --hebrew --russian --spanish --irish --german-medical --bulgarian --catalan --swedish --brazilian --canadian-english-insane --manx --italian --ogerman --portuguese --polish --gaelic --finnish default: --eng-1M options: -h, --help this help text -d, --debug debugging output -N, --dont-normalize don't normalize frequencies when combining multiple Markov models; this has the effect of making larger datasets more influential -o, --target-offset change the target length offset used in the word generation algorithm; use negative integers for best results