R/data.R

#' Corpus
#'
#' Random text for examples and testing purposes.
#'
#' @format A vector of 9 documents.
#' 
#' @source \url{https://radimrehurek.com/gensim/tut1.html#corpus-streaming-one-document-at-a-time}
"corpus"

#' Authors
#'
#' Authors matching corpus dataset.
#'
#' @format A data.frame object with 19 rows and 2 columns
#' \describe{
#'   \item{\code{name}}{ author name}
#'   \item{\code{document}}{ document id}
#' }
#' 
#' @source \url{https://radimrehurek.com/gensim/test/utils.html}
"authors"
news-r/gensimr documentation built on Jan. 9, 2021, 5:55 a.m.