View source: R/generateLayerUtterances.R
generateLayerUtterances | R Documentation |
Generates annotations on a given layer for a given set of utterances, e.g. force-align selected utterances of a participant.
generateLayerUtterances(
labbcat.url,
match.ids,
layer.id,
collection.name = NULL,
no.progress = FALSE
)
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(). |
The final status of the layer generation task.
getAllUtterances
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.