Skip to main content

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%

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dinospeak-0.1.1.tar.gz (3.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page