My entry for NaNoGenMo 2014.
disgrice.py
is a script which attempts to violate Grice's maxims.
It applies simple, silly transformations to a text, lending the text a voice
that is familiar but hopelessly unreliable, even paranoid.
$ export WORDNIK_API_KEY="yourAPIkey"
$ python disgrice.py < input.txt > output.html
To use this script you will need the following:
- A Wordnik API key.
- Two Python libraries: pattern and requests.