Dinospeak is a library to encode human language to dinosaur language. You know, in case they come back to life or invade us using dino spaceships.
Dinospeak is optimized for small strings (eg. micro-blogging) and aims in preserving punctuation.
Source code repo: https://bitbucket.org/glezos/dinospeak
You can install using the standard setuptools:
(sudo) easy_install dinospeak
With sudo, dinospeak will be installed eg. in /usr/lib/python2.6/site-packages/dinospeak-0.x-py2.6.egg/.
The current implementation depends on smaz. The above command should install it automatically for you.
Alternatively, grab the source code itself:
hg clone https://bitbucket.org/glezos/dinospeak
There's a test file which produces some results from the library:
$ python <path-to-dinospeak>/test.py In:@aethaeth blah. Out: @mawwnawachg hcggggr. In:@glezos Hello man, how are you? Out: @wheuaarewmun mrcwmemgwgauw eewca, eacga mmc wmggc? String length comparisons: max: 274%, min: 140%, avg: 217%