transcripts_update_fulltexts {act}R Documentation

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:

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.

Value

Corpus object.

Examples

library(act)

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


[Package act version 1.3.1 Index]