Git Product home page Git Product logo

clojirls-just-want-to-have-puns's Introduction

clojirls-just-want-to-have-puns

Nice fun puns in Clojure

Takes a word and a list of phrases and generates puns like:

  • the test of both worlds
  • the test things in life are free
  • hit me with your test shot

Installation

Download jar file here

Usage

$ java -jar clojirls-just-want-to-have-puns-0.1.0-standalone.jar [word] [phrases_file]

OR, if you have Leiningen

$ lein run [word] [phrases_file] 

Options

  • word - the word to make a pun with
  • phrases_file - the path to a file with a list of phrases in it (each phrase must be on its own line)

Examples

$ lein run test phrases/wikipedia-idioms.txt 
=> be my test (pun of be my guest)
   be one's test (pun of be one's guest)
   test interests at heart (pun of best interests at heart)
   test laid plans (pun of best laid plans)
   close to the test (pun of close to the vest)
$ java -jar clojirls-just-want-to-have-puns-0.1.0-standalone.jar cat phrases/wikipedia-idioms.txt 
=> cat a thousand (pun of bat a thousand)
   cat an eye (pun of bat an eye)
   cat an eyelash (pun of bat an eyelash)
   cat five hundred (pun of bat five hundred)
   cat one's eyes (pun of bat one's eyes)
   big, cat, hairy deal (pun of big, fat, hairy deal)
   bite the hand cat feeds one (pun of bite the hand that feeds one)

License

Copyright © 2015 SoftwareWarlock

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

clojirls-just-want-to-have-puns's People

Contributors

emptyflash avatar

Stargazers

 avatar

Forkers

plumpmath

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.