transcripts_update_fulltexts: Update full texts
Description
Creates/updates the full texts of the transcripts in a corpus.
The full text may be created in two different ways:
The contents of a transcription will be joined consecutively based on the time information.
The contents of each tier will be joined consecutively, and then the next tier will be joined.
Usage
transcripts_update_fulltexts(
x,
searchMode = c("fulltext", "fulltext.bytier", "fulltext.bytime"),
transcriptNames = NULL,
tierNames = NULL,
forceUpdate = FALSE
)
Arguments
- x
Corpus object.
- searchMode
Character string; Which full text should be created; accepts the following values: fulltext.bytier, fulltext.bytime, fulltext
.
- transcriptNames
Vector of character strings; Names of the transcripts you want to update; leave empty if you want to process all transcripts that need an update.
- tierNames
Vector of character strings; Names of the tiers to include in the fulltext.
- forceUpdate
Logical; If TRUE
fulltexts will be created in any case, if FALSE
fulltexts will be only be created if there was a modification to the transcript since the last creation of the fulltexts.
Examples
Run this codelibrary(act)
examplecorpus <- act::transcripts_update_fulltexts(x=examplecorpus)
Run the code above in your browser using DataLab