dinospeak /

Filename Size Date modified Message
60 B
18.0 KB
1.4 KB
536 B


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%

Authors & Credits

Original author: Dimitris Glezos

Thanks to Ios Kaye and Vasilis Georgitzikis for some cool implementation ideas. Thanks to #ceidtrip for embracing a plastic dino like their own child.