Git Product home page Git Product logo

rhyme's Introduction

Build Status

rhyme

A repository to test if text is in a rhyming form.

Testing your text

Simply edit (forking is fine) the "rhyme.txt" and Travis will verify that your text is a proper rhyme.

There are a few levels of rhyme:

  • 1 letter rhyme, which is a false rhyme.
  • 2 letter rhyme, better, usable. Should match.
  • 3 letter rhyme, wonderful, it starts to sound great!
  • 4 letter rhyme, you should do this professionally.

Making it easier

In my personal opinion you're safe using level 1 and 2, so you can skip levels 3 and 4 by adding "skip" to the file tests/rhyme.bats:

@test "Check three letter rhyme." {
  skip "I need to finish my rhyme quickly, so skipping 3 letter rhymes."
  cat analysis3.txt | while read first second rest ; do 
    [ "$first" = "$second" ]
  done
}

@test "Check four letter rhyme." {
  skip "FOUR LETTER RHYMES, WHAT THE F**K."
  cat analysis4.txt | while read first second rest ; do 
    [ "$first" = "$second" ]
  done
}

rhyme's People

Contributors

lvlie avatar robertdebock avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

melving lvlie

rhyme's Issues

Test failure

You should have a test case that assumes and tests for failures

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.