
Process Raw Interview Transcript to Reconstructed Dialogue
process_interview.RdThis 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.
Value
A character vector where each element represents a line of dialogue, with the corresponding speaker tag prepended (e.g., "[Speaker Name] Intervention text").