Returns a list of deserializers, which are modules that import transcriptions and annotation structures from a specific file format, e.g. Praat TextGrid, plain text, etc.

getDeserializerDescriptors(labbcat.url)

Arguments

labbcat.url

URL to the LaBB-CAT instance

Value

A list of serializers, each including the following information:

  • name The name of the format.

  • version The installed version of the serializer module.

  • fileSuffixes The normal file name suffixes (extensions) of the files.,

  • mimeType The MIME type of the format, i.e. the value to use as the mimeType parameter of getFragments,

Examples

if (FALSE) {
## List file upload formats supported
formats <- getDeserializerDescriptors("https://labbcat.canterbury.ac.nz/demo/")

## can we upload as plain text?
plainTextSupported <- "text/plain" %in% formats$mimeType
}