This is an experiment using the Treetop Gem to translate english to pig latin.
Just fork it, drop into the directory and bundle install.
You can run it in irb:
$ irb
> load './pig_latin_translator.rb'
=> true
> PigLatinTranslator.new.translate('Wow! This is fun!')
=> "Owway! Isthay isay unfay!"
>
Yes! Please contribute. Specifically I'm looking for improvements to the grammar described in pig_latin.treetop.
- Fork it ( https://github.com/kellyfelkins/treetop_english_to_pig_latin_translator )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Thank you and enjoy.