Giter VIP home page Giter VIP logo

piglatin's Introduction

Pig Latin

This R package allows the user to translate an arbitrary text into Pig Latin.

devtools::install_github("expersso/piglatin")
library(piglatin)
library(magrittr)

url("http://history.eserver.org/gettysburg-address.txt") %>%
  readLines() %>%
  .[4:26] %>%
  paste(collapse = "") %>%
  pigify() %>% 
  strwrap(60) %>%
  cat(sep = "\n")
## Ourfay orescay anday evensay earsyay agoay ouray athersfay
## oughtbray orthfay onay isthay ontinentcay aay ewnay
## ationnay, onceivedcay inay ibertylay anday edicatedday otay
## ethay opositionpray atthay allay enmay areay eatedcray
## equalay. Ownay eway areay engageday inay aay eatgray
## ivilcay arway, estingtay etherwhay atthay ationnay oray
## anyay ationnay osay onceivedcay anday osay edicatedday
## ancay onglay endureay. Eway areay etmay onay aay eatgray
## attlefieldbay ofay atthay arway. Eway avehay omecay otay
## edicateday aay ortionpay ofay atthay ieldfay asay aay
## inalfay estingray-aceplay orfay osethay owhay erehay avegay
## eirthay iveslay atthay atthay ationnay ightmay ivelay. Itay
## isay altogetheray ittingfay anday operpray atthay eway
## ouldshay oday isthay. Utbay inay aay argerlay ensesay, eway
## annotcay edicateday, eway annotcay onsecratecay, eway
## annotcay allowhay isthay oundgray. Ethay avebray enmay,
## ivinglay anday eadday owhay uggledstray erehay avehay
## onsecratedcay itay arfay aboveay ouray oorpay owerpay otay
## adday oray etractday. Ethay orldway illway ittlelay otenay
## ornay onglay ememberray atwhay eway aysay erehay, utbay
## itay ancay evernay orgetfay atwhay eythay idday erehay.
## Itay isay orfay usay ethay ivinglay atherray otay ebay
## edicatedday erehay otay ethay unfinisheday orkway ichwhay
## eythay owhay oughtfay erehay avehay usthay arfay osay
## oblynay advanceday. Itay isay atherray orfay usay otay ebay
## erehay edicatedday otay ethay eatgray asktay emainingray
## eforebay usay--atthay omfray esethay onoredhay eadday eway
## aketay increaseday evotionday otay atthay ausecay orfay
## ichwhay eythay avegay ethay astlay ullfay easuremay ofay
## evotionday--atthay eway erehay ighlyhay esolveray atthay
## esethay eadday allshay otnay avehay iedday inay ainvay,
## atthay isthay ationnay underay Odgay allshay avehay aay
## ewnay irthbay ofay eedomfray, anday atthay overnmentgay
## ofay ethay eoplepay, byay ethay eoplepay, orfay ethay
## eoplepay allshay otnay erishpay omfray ethay earthay.

piglatin's People

Contributors

expersso avatar

Stargazers

Maëlle Salmon avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.