Dinosaur language translation library
Project description
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
Installing
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
Running
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%
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.