TextReuseTextDocument-accessors function

Accessors for TextReuse objects

Accessors for TextReuse objects

Accessor functions to read and write components of TextReuseTextDocument and TextReuseCorpus

objects.

tokens(x) tokens(x) <- value hashes(x) hashes(x) <- value minhashes(x) minhashes(x) <- value

Arguments

  • x: The object to access.
  • value: The value to assign.

Returns

Either a vector or a named list of vectors.