powered by
Builds chords ngrams for a chord datdaset.
chords_ngram(data, n = 2)
dataframe. The chords dataset to exract the features from.
numeric. The number of grams. The default is 2 (bigram).
A chords dataset added with the chords ngram.
# NOT RUN { { # } # NOT RUN { songs <- chorrrds::get_songs("tim-maia") chords <- get_chords(songs$url[4]) chords_ngram(chords) # } # NOT RUN { } # }
Run the code above in your browser using DataLab