You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mamlr/man/merger.Rd

27 lines
805 B

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/merger.R
\name{merger}
\alias{merger}
\title{Merges list of lemmas back into a pseudo-document}
\usage{
merger(row, out, text)
}
\arguments{
\item{row}{A row number form the Elasticizer-generated data frame}
\item{out}{The elasticizer-generated data frame}
\item{text}{String indicating whether the "merged" field will contain the "full" text, old-style "lemmas" (will be deprecated), new-style "ud"}
\item{words}{String indicating the number of words to keep from each document (maximum document length), 999 indicates the whole document}
}
\value{
A documentified string of lemmas, one document at a time
}
\description{
Merges list of lemmas back into a pseudo-document
}
\examples{
merger(1, words = '999', out, text)
}