% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/process_interview.R
\name{process_interview}
\alias{process_interview}
\title{Process Raw Interview Transcript to Reconstructed Dialogue}
\usage{
process_interview(interview)
}
\arguments{
\item{interview}{A character vector representing the raw interview
transcript (as returned by \code{read_interview}). The lines should be
tagged with speaker names within square brackets
(e.g., "\[Speaker1\] This is a line").}
}
\value{
A character vector where each element represents a line of
dialogue, with the corresponding speaker tag prepended (e.g.,
"[Speaker Name] Intervention text").
}
\description{
This function processes a raw interview transcript through a series
of steps to extract speaker turns and reconstruct the dialogue in
a human-readable format. It identifies speakers, generates regular
expression patterns for their tags, structures the data, extracts
interventions, and then prepends speaker tags back to each line.
}
\examples{
# Example Usage:
# processed_interview = process_interview(intrw)

}
\seealso{
Other process interview:
\code{\link[=concatenate_intervention]{concatenate_intervention()}},
\code{\link[=generate_speaker_pattern]{generate_speaker_pattern()}},
\code{\link[=prep_interview]{prep_interview()}},
\code{\link[=process_structured_interview]{process_structured_interview()}},
\code{\link[=read_interview]{read_interview()}},
\code{\link[=rename_speaker]{rename_speaker()}},
\code{\link[=retrieve_speaker]{retrieve_speaker()}},
\code{\link[=structure_interview]{structure_interview()}},
\code{\link[=unlist_processed_interview]{unlist_processed_interview()}},
\code{\link[=write_interview]{write_interview()}}
}
\concept{process interview}
