Get data for rhyming words.

get_rhyme(word, return_type = "df", limit = 10, num_syl = NULL)

Arguments

word

to rhyme with.

return_type

type to return. Options are:

  • 'df' for data.frame.

  • 'word' for a single word.

  • 'random_word' or 'random word' or 'rand' for a random word.

  • 'vector' for a vector of words.

limit

max number of words to return.

num_syl

number of syllables in rhymes to return.

Value

data with rhyming words.

Examples

get_rhyme("test")
#>        word score numSyllables
#> 1  manifest  2995            3
#> 2      best  2743            1
#> 3      rest  2366            1
#> 4   request  2328            2
#> 5   suggest  1987            2
#> 6     quest  1818            1
#> 7    attest  1754            2
#> 8     crest  1732            1
#> 9      nest  1661            1
#> 10     lest  1632            1

get_rhyme("test", limit = 10)
#>        word score numSyllables
#> 1  manifest  2995            3
#> 2      best  2743            1
#> 3      rest  2366            1
#> 4   request  2328            2
#> 5   suggest  1987            2
#> 6     quest  1818            1
#> 7    attest  1754            2
#> 8     crest  1732            1
#> 9      nest  1661            1
#> 10     lest  1632            1