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.
25 lines
707 B
25 lines
707 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 regex (see code)}
|
|
}
|
|
\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)
|
|
}
|