transcripts_update_normalization {act}R Documentation

Normalize transcriptions

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

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

library(act)

examplecorpus <- act::transcripts_update_normalization(x=examplecorpus)


[Package act version 1.1.9 Index]