Keeps the element names and rownames in sync with the system docvar docname_.

# S3 method for corpus
names(x) <- value

# S3 method for tokens
names(x) <- value

# S4 method for dfm
rownames(x) <- value

# S4 method for fcm
rownames(x) <- value

Arguments

x

an R object.

value

a character vector of up to the same length as x, or NULL.