piggy_latin

Take a paragraph of group of sentences and turn them it into a group of sentences translated into pig latin. Currently does not work with anything but simple sentences ended in periods.

Usage

pig_latin = PigLatin::Input({:dash => true}) pig_latin.translate(“Hi.”)

=> I-hay.

TODO: A) Document 1) Allow sentences to end in questions marks or exclaimation marks 2) Allow appostrophes 3) Check for “Mr., Mrs.” and other abbreviations that will mess up the delimination.

Contributing to piggy_latin

Copyright © 2011 Trent Hauck. See LICENSE.txt for further details.