python ricemaker.py -w 'C:\Program Files\WordNet\wn.exe'
python ricemaker.py [options]
RiceMaker will automatically play the vocabulary game on freerice.com to
generate rice donations. For a more detailed usage manual, see the project
--version show program's version number and exit
--help, -h show this help message and exit
--debug, -d Debug mode (print some extra debug output). [default:
--savesession, -s Save session in a file. This will store a running
total of the rice generated by you, across multiple
runs of ricemaker. [default: True]
--wordnetpath=WORDNETPATH, -w WORDNETPATH
Full path to the WordNet commandline executable, if
installed. On Linux, something like '/usr/bin/wn'; on
Windows, something like 'C:\Program
Files\WordNet\wn.exe'. [default: /usr/bin/wn]
--useragent=USERAGENT, -u USERAGENT
The User-Agent string to use for the HTTP requests.
The default is the User-Agent from IE7 on WinXP SP2.
[default: Mozilla/4.0 (compatible; MSIE 7.0; Windows
--sleeplowsec=SLEEPLOWSEC, -l SLEEPLOWSEC
Lower bound on the random number of seconds to sleep
between iterations. [default: 3]
--sleephighsec=SLEEPHIGHSEC, -m SLEEPHIGHSEC
Upper bound on the random number of seconds to sleep
between iterations. [default: 6]
--freericedictfilename=FREERICEDICTFILENAME, -f FREERICEDICTFILENAME
Filename for internally generated dictionary. You may
specify a full path here, otherwise it will just get
written to the same directory where this script
resides (default behavior). No need to change this
unless you really feel like it. [default:
--iterationsbetweendumps=ITERATIONSBETWEENDUMPS, -i ITERATIONSBETWEENDUMPS
Number of iterations between dictionary dumps to file.
More often than 5 minutes is really unnecessary (Time
between dumps is iterationsbetweendumps * avgsleeptime
= time between dumps.) [default: 1000]
--threads=THREADS, -t THREADS
Number of simultaneous threads of RiceMaker to start.
Stick with 1 to reduce probability of being filtered
out as a bot. [default: 1]
--benchmark=BENCHMARK, -b BENCHMARK
For benchmarking or dictionary building purposes: do
you want to skip dict.org lookups and/or wordnet
and/or internal dictionary lookups ('dict.org' to skip
dict.org, 'wordnet' to skip wordnet, 'idict' to skip
internal dictionary). [default: ]
You have donated 10000 grains of rice. Wow! Now THAT is impressive!
You have donated 20000 grains of rice. Wow! We're speechless!
You have donated 30000 grains of rice. Wow! We're STILL speechless!
You have donated 40000 grains of rice. Wow! We're STILL speechless!
You have donated 50000 grains of rice. Wow! We're STILL speechless!
You have donated 60000 grains of rice. Wow! We're STILL speechless!
You have donated 70000 grains of rice. Wow! We're STILL speechless!
You have donated 80000 grains of rice. Wow! We're STILL speechless!
You have donated 90000 grains of rice. Wow! We're STILL speechless!
You have donated 100000 grains of rice. May you have a lifetime of happiness...
help on how to format text