chords_ngram {chorrrds}R Documentation

chords_ngram

Description

Builds chords ngrams for a chord datdaset.

Usage

chords_ngram(data, n = 2)

Arguments

data

dataframe. The chords dataset to exract the features from.

n

numeric. The number of grams. The default is 2 (bigram).

Value

A chords dataset added with the chords ngram.

Examples

{

  songs <- chorrrds::get_songs("tim-maia")
  chords <- get_chords(songs$url[4])
  chords_ngram(chords)

}

[Package chorrrds version 0.1.9.5 Index]