setTokenlistColnames: Set which columns in the tokens data frame should be used

Description Usage Arguments Value

Description

Set which columns in the tokens data frame should be used

Usage

1
2
setTokenlistColnames(doc.col = "doc_id", position.col = "position",
  word.col = "word")

Arguments

doc.col

The name of the column containing the unique id's for documents

position.col

The name of the column contaning the positions of a token in a document

word.col

The name of the column contaning the token text (e.g., word, lemma)

Value

Nothing. Sets the names globally (in options())


kasperwelbers/semnet documentation built on May 20, 2019, 7:38 a.m.