Pig Latin

June 2, 2009

We provide a single function, pig-latin, that works in both directions; strings that contain a hyphen are translated from Pig Latin to English, and strings without a hyphen are translated from English to Pig Latin.