rhymes_phonemes_single: Find rhymes for the given phoneme strings

Description Usage Arguments Value Examples

Description

To find rhymes, phon compares trailing phonemes. Words rhyme with each other if they have the same phonemes at the end.

Usage

1
2
3
rhymes_phonemes_single(phons, keep_stresses = FALSE, min_phonemes = 3L)

rhymes_phonemes(phons, keep_stresses = FALSE, min_phonemes = 2L)

Arguments

phons

Vector of phoneme strings e.g. c("K AE1 R IY0", "K EH1 R IY0")

keep_stresses

keep the stresses attached to each phonmeme? Default: FALSE

min_phonemes

the minimum number of matching phonemes. Default: 3

Value

data.frame of rhymes with rhyme_length giving the number of trailing phonems which match the given word.

Examples

1
rhymes_phonemes_single("D R AH1 JH ER0 IY0")

coolbutuseless/phon documentation built on May 31, 2019, 5:40 a.m.