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 2832 3 #> 2 best 2538 1 #> 3 request 2199 2 #> 4 rest 2176 1 #> 5 suggest 1879 2 #> 6 quest 1738 1 #> 7 attest 1671 2 #> 8 crest 1626 1 #> 9 lest 1551 1 #> 10 contest 1519 2
get_rhyme("test", limit = 10)
#> word score numSyllables #> 1 manifest 2832 3 #> 2 best 2538 1 #> 3 request 2199 2 #> 4 rest 2176 1 #> 5 suggest 1879 2 #> 6 quest 1738 1 #> 7 attest 1671 2 #> 8 crest 1626 1 #> 9 lest 1551 1 #> 10 contest 1519 2