dinospeak /

Filename Size Date modified Message
dinospeak
60 B
17.6 KB
1.3 KB
536 B

Dinospeak

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.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.