sm_skip_ngram: Skip N-Grams

Description Usage Arguments Value

Description

Skip N-Grams

Usage

1
2
3
4
5
6
7
8
sm_skip_ngram(
  object,
  n_min = 1,
  n = 3,
  k = 1,
  doc_var = "doc_id",
  token_var = "lemma"
)

Arguments

object

data frame

n_min

minimum number of terms

n

maximum number of terms

k

number of skips to consider

doc_var

name of the variable containing the document id

token_var

name of the variable containing the tokens

Value

a data frame


statsmaths/smodels documentation built on Jan. 9, 2021, 1:07 p.m.