updateFragment: Update a transcript fragment.

View source: R/updateFragment.R

updateFragmentR Documentation

Update a transcript fragment.

Description

This function uploads a file (e.g. Praat TextGrid) representing a fragment of a transcript, with annotations or alignments to update in LaBB-CAT's version of the transcript.

Usage

updateFragment(labbcat.url, fragment.path)

Arguments

labbcat.url

URL to the LaBB-CAT instance

fragment.path

The path to the fragment to upload.

Details

For this function to work, the credentials used to connect to the server must have at least 'edit' access.

Value

A named list with information about the fragment that was updated.

Examples

## Not run: 
## define the LaBB-CAT URL
labbcat.url <- "https://labbcat.canterbury.ac.nz/demo/"

## upload new verison of transcript transcript
updateFragment(labbcat.url, "my-transcript__1.234-5.678.TextGrid")

## End(Not run)

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