rhyme-detector

    1.1.1 • Public • Published

    rhyme-detector

    🕵 Find all the rhymes in any poem, fast.

    Dependencies

    Uses the CMU pronouncing dictionary

    Install

    Using npm:

    npm install rhyme-detector --save
    # or
    yarn add rhyme-detector

    Usage

     
    const detectRyhmes = require("detect-rhymes");
     
    let rhymes = detectRyhmes("overnight delight intertwine emboss mine loss shine boss refine incline");
     
    /*
    Returns:
     
    [ [ 'overnight', 'delight' ],
    [ 'intertwine', 'mine', 'shine', 'incline' ],
    [ 'emboss', 'loss', 'boss' ] ]
    */
     

    LICENSE (WTFPL)

    Install

    npm i rhyme-detector

    DownloadsWeekly Downloads

    1

    Version

    1.1.1

    License

    WTFPL

    Unpacked Size

    3.74 kB

    Total Files

    4

    Last publish

    Collaborators

    • leemeyer