nzilbb.labbcat 1.5-0

New functions:

Functions have been added to facilitate tidyverse-style piping expressions to build up a dataframe of search results with annotations, acoustic measurements, etc.

The following functions add columns to a dataframe of results returned by getMatches:

The idea is you can chain together data extraction functions like:

matches <- getMatches(url, "(dis|mis).*") |>
  appendLabels(c("phonemes", "morphology", "participant_gender")) |> # layers/meta-data
  appendLabels("orthography", target.offset = -1) |> # previous word
  appendOffsets("segment", annotations.per.layer = 3) |> # first three phone alignments
  appendFromPraat( # F1/F2 of the vowel (the second segment):
    segment.2.start, segment.2.end,
    window.offset = 0.025,
    praat.script = praatScriptFormants(formants = c(1,2)))

The following functions produce data/media files defined by fragment start/end times, and do not add columns to the given dataframe, but rather return a list of file names:

For example:

vivid.tokens <- getMatches(labbcat.url, "vivid")
vivid.textgrids <- vivid.tokens |> fragmentTranscripts(c("word", "segment"))
vivid.wavs <- vivid.tokens |> fragmentAudio()
vivid.faces <- vivid.tokens |> 
    fragmentData( ## png images of faces detected by mediapipe during the word
        "mediapipe", path = "png",
        start.column=Target.word.start, end.column=Target.word.end)

Enhancements

nzilbb.labbcat 1.4-0

Minimum LaBB-CAT version 20250430.1502

New functions:

New, more flexible upload API functions, which allow finely-grained control of how transcript files are processed by LaBB-CAT:

In some annotation layers, the annotations have not only a textual label, but also binary data associated with it; e.g. an image or a data file. In these cases, the ‘type’ of the layer is a MIME type, e.g. ‘image/png’. The following functions provide access to that data:

Enhancements

## Examples of within-word segment context:

## words that contain the /I/ phone followed by the /l/ phone
## (multiple patterns per word currently only works for segment layers)
pattern <- list(segment = list("I", "l"))

## words that contain the /I/ phone followed by the /l/ phone, targeting the /l/ segment
## (multiple patterns per word currently only works for segment layers)
pattern <- list(segment = list("I", list(pattern="l", target=T)))

## words where the spelling starts with "k", but the first segment is /n/
pattern <- list(
  orthography = "k.*", 
  segment = list(pattern = "n", anchorStart = T)

nzilbb.labbcat 1.3-0

Minimum LaBB-CAT version 20230224.1731

Enhancements

New functions:

nzilbb.labbcat 1.2-0

Minimum LaBB-CAT version 20230202.1600

New functions:

Enhancements

nzilbb.labbcat 1.1-1

Minimum LaBB-CAT version 20220401.1842

Enhancements

nzilbb.labbcat 1.1-0

Minimum LaBB-CAT version 20220401.1842

New functions:

nzilbb.labbcat 1.0-1

Minimum LaBB-CAT version 20210601.1528

Enhancements

New functions:

nzilbb.labbcat 0.7-1

Minimum LaBB-CAT version 20210210.2032

Enhancements

New functions:

nzilbb.labbcat 0.6-1

Minimum LaBB-CAT version 20200812.1253

New functions:

nzilbb.labbcat 0.5-1

Minimum LaBB-CAT version 20200608.1507

New functions:

Enhancements

nzilbb.labbcat 0.4-1

Minimum LaBB-CAT version 20200108.1025

Enhancements

nzilbb.labbcat 0.3-1

Minimum LaBB-CAT version 20191022.1827

New functions:

Enhancements

mirror server hosted at Truenetwork, Russian Federation.