find_line_matches: Given a lyric snippet and a song name, return vector of...

Description Usage Arguments Value See Also

View source: R/lyric_functions.R

Description

Given a lyric snippet and a song name, return vector of matches by line

Usage

1
find_line_matches(song, lyrics, return_values = FALSE)

Arguments

song

String name of a song in bd_songs$Song

lyrics

String of lyrics to search

return_values

if TRUE return list of stem matches, otherwise return a vector of counts of matches

Value

a vector of match counts or a list of matching stems

See Also

Other lyric_functions: find_bd_lyrics, find_stems, get_stem_match, get_word_stems, match_all_stems


kburnham/bobdylanr documentation built on May 6, 2019, 11:47 a.m.