View source: R/get_vihi_annotations.R
get_vihi_annotations | R Documentation |
Clone BLAB-private vihi_annotations
repo to ~/BLAB_DATA
once before using this function.
get_vihi_annotations(
version = NULL,
subset = c("random", "everything", "VI+TD-VI"),
table = c("annotations", "intervals", "merged", "all"),
include_all_tier_types = FALSE,
allow_annotation_errors = FALSE,
include_pi = FALSE
)
version |
version tag to checkout |
subset |
Which pre-defined subset of the data should be loaded?
|
table |
Which table to return - |
include_all_tier_types |
Should all tier types be included in the
output? If |
allow_annotation_errors |
In case errors are found in the annotations,
should the function throw an error ( |
include_pi |
Should annotations marked as PI be included in the output?
If |
The speaker TIER is identified by the participant
column. Other tiers are
in columns.
Notes:
Annotation are checked for errors for the standard ACLEW tiers only. Interval-level checks aren't currently checked at all.
Annotations marked as PI are included. Filter them out if you don't want them.
The transcribed utterance can be empty (”). Normally, that means that a code interval has been segmented but not annotated. But there might be other stray utterance segments like that.
(relevant for non-speaker TIERs only) Currently, there is no way to tell whether an annotation is missing because it was not segmented or because it was segmented but not yet annotated: both are represented as NA. This will change in the future: missing segment will still be NA, but missing annotation will be ”.
A table or a list of tables depending on the table
parameter.
vitd_annotations <- get_vihi_annotations(version='0.0.0.9006-dev.5',
subset='VI+TD-VI')
vitd <- get_vihi_annotations(version='0.0.0.9006-dev.5', subset='VI+TD-VI',
table='all')
vitd$annotations %>% head()
vitd$intervals %>% head()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.