Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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


Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
dinospeak-0.1.1.tar.gz (3.7 kB) Copy SHA256 hash SHA256 Source None Apr 25, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page