Skip to content
forked from words/rhymes

Give me an English word and I'll give you a list of rhymes and alliterations

License

Notifications You must be signed in to change notification settings

dan1wang/rhyming.ly

 
 

Repository files navigation

rhyming.ly

NPM version Build Status dependencies Status devDependencies Status codecov Code Style: Google

Give me an English word and I'll give you a list of alliterations and rhymes

This is a TypeScript rewrite of the original rhymes library, with some improvements

Install

Install with npm:

$ npm install --save rhyming.ly

Usage

var rhymes = require('rhyming.ly').rhymes;
rhymes('english');

Output

{
   "rhymes":[
      {
         "word":"italish",
         "score":3
      },
      {
         "word":"ticklish",
         "score":3
      },
      {
         "word":"candlish",
         "score":3
      },
      {
         "word":"churlish",
         "score":3
      },
      {
         "word":"dalgleish",
         "score":3
      },
      {
         "word":"demolish",
         "score":3
      },
      {
         "word":"devilish",
         "score":3
      },
      {
         "word":"elish",
         "score":3
      },
      {
         "word":"embellish",
         "score":3
      },
      {
         "word":"establish",
         "score":3
      },
      {
         "word":"fallish",
         "score":3
      },
      {
         "word":"foolish",
         "score":3
      },
      {
         "word":"ghoulish",
         "score":3
      },
      {
         "word":"girlish",
         "score":3
      },
      {
         "word":"hamlisch",
         "score":3
      },
      {
         "word":"hellish",
         "score":3
      },
      {
         "word":"inglish",
         "score":3
      },
      {
         "word":"bullish",
         "score":3
      },
      {
         "word":"accomplish",
         "score":3
      },
      {
         "word":"kalish",
         "score":3
      }
   ],
   "alliterations":[
      {
         "word":"englishman",
         "score":6
      },
      {
         "word":"englishwoman",
         "score":6
      },
      {
         "word":"inglis",
         "score":5
      },
      {
         "word":"england\'s",
         "score":4
      },
      {
         "word":"englander",
         "score":4
      },
      {
         "word":"englanders",
         "score":4
      },
      {
         "word":"englands",
         "score":4
      },
      {
         "word":"inglese",
         "score":4
      },
      {
         "word":"england",
         "score":4
      },
      {
         "word":"ingels",
         "score":3
      },
      {
         "word":"englert",
         "score":3
      },
      {
         "word":"englerth",
         "score":3
      },
      {
         "word":"ingraham",
         "score":3
      },
      {
         "word":"ingrum",
         "score":3
      },
      {
         "word":"ingwersen",
         "score":3
      },
      {
         "word":"englund",
         "score":3
      },
      {
         "word":"ingots",
         "score":3
      },
      {
         "word":"ingot",
         "score":3
      },
      {
         "word":"ingold",
         "score":3
      },
      {
         "word":"ingo",
         "score":3
      }
   ]
}

About

Give me an English word and I'll give you a list of rhymes and alliterations

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 54.6%
  • TypeScript 45.4%