read_write_transcript_otterai: Extract and Save NSE Transcript from Otter.ai

View source: R/text.R

read_write_transcript_otteraiR Documentation

Extract and Save NSE Transcript from Otter.ai

Description

This function extracts the text between given beginning and ending patterns from a file and saves the transcript to another file.

Usage

read_write_transcript_otterai(input, output, begin, end, eol = "\\n")

Arguments

input

A character string specifying the path to the input file.

output

A character string specifying the path to the output file where the extracted transcript will be saved.

begin

A character string specifying the pattern that marks the beginning of the transcript in the input file.

end

A character string specifying the pattern that marks the end of the transcript in the input file.

eol

A character string specifying the line ending to be used in the output file, default is '\n'.

Details

This function uses regular expressions to extract text between specified patterns. It is useful for extracting structured text data, such as transcripts, from files.

Value

NULL, as this function is primarily used for its side effect of writing a file.


jtrampush/npsych.data documentation built on Feb. 25, 2025, 12:30 a.m.