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/out_parser.Rd

25 lines
727 B

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/out_parser.R
\name{out_parser}
\alias{out_parser}
\title{Parse raw text into a single field}
\usage{
out_parser(out, field, clean = F)
}
\arguments{
\item{out}{The original output data frame}
\item{field}{Either 'highlight' or '_source', for parsing of the highlighted search result text, or the original source text}
\item{clean}{Boolean indicating whether the results should be cleaned by removing words matching the regex \S*?[0-9@#$%]+[^\s!?.,;:]*}
}
\value{
a parsed output data frame including the additional column 'merged', containing the merged text
}
\description{
Parse raw text into a single field
}
\examples{
out_parser(out,field)
}