transcripts_update_normalization: Normalize transcriptions

Description Usage Arguments Examples

View source: R/transcripts_update_normalization.R

Description

Normalizes the contents of transcriptions in a corpus object using a normalization matrix. Function returns a corpus object with normalized transcription and updates the original corpus object passed as argument to x.

Usage

1
2
3
4
5
6
transcripts_update_normalization(
  x,
  path_replacementMatrixCSV = "",
  transcriptNames = NULL,
  forceUpdate = FALSE
)

Arguments

x

Corpus object.

path_replacementMatrixCSV

Character string; path to replacement matrix in CSV format. If empty, the default replacement matrix that comes with the package will be used.

transcriptNames

Vector of character strings; Names of the transcripts for which you want to search media files; leave empty if you want to search media for all transcripts in the corpus object.

forceUpdate

Logical; If TRUE transcripts will be normalized in any case, if FALSE transcripts will be only normalized if there was a modification to the transcript since the last normalization.

Examples

1
2
3

act documentation built on Sept. 27, 2021, 1:06 a.m.