chords_ngram: chords_ngram

Description Usage Arguments Value Examples

Description

Builds chords ngrams for a chord datdaset.

Usage

1

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

1
2
3
4
5
6
7
{

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

}

brunaw/chorrrds documentation built on June 12, 2019, 7:32 a.m.