Learn R Programming

nzilbb.labbcat (version 1.3-0)

generateLayerUtterances: Generates a layer for a given set of utterances.

Description

Generates annotations on a given layer for a given set of utterances, e.g. force-align selected utterances of a participant.

Usage

generateLayerUtterances(
  labbcat.url,
  match.ids,
  layer.id,
  collection.name = NULL,
  no.progress = FALSE
)

Value

The final status of the layer generation task.

Arguments

labbcat.url

URL to the LaBB-CAT instance

match.ids

A vector of annotation IDs, e.g. the MatchId column, or the URL column, of a results set.

layer.id

The ID of the layer to generate.

collection.name

An optional name for the collection, e.g. the participant ID.

no.progress

TRUE to supress visual progress bar. Otherwise, progress bar will be shown when interactive().

See Also

getAllUtterances

Examples

Run this code
if (FALSE) {
## define the LaBB-CAT URL
labbcat.url <- "https://labbcat.canterbury.ac.nz/demo/"

## Get all utterances of a participant
allUtterances <- getAllUtterances(labbcat.url, "AP2505_Nelson")

## Force-align the participant's utterances
generateLayerUtterances(labbcat.url, allUtterances$MatchId, "htk", "AP2505_Nelson")
}

Run the code above in your browser using DataLab