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

View source: R/generateLayerUtterances.R

generateLayerUtterancesR Documentation

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
)

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().

Value

The final status of the layer generation task.

See Also

getAllUtterances

Examples

## Not run: 
## 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")

## End(Not run)


nzilbb.labbcat documentation built on July 26, 2023, 6:08 p.m.