import_exb {act} | R Documentation |
Import a single 'EXMARaLDA' .exb file
Description
Advice: In most situations it is more convenient to use act::corpus_new
, act::corpus_import
for importing annotation files.
Usage
import_exb(filePath = NULL, fileContent = NULL, transcriptName = NULL)
Arguments
filePath |
Character string; input path of a single 'EXMARaLDA' .exb file. |
fileContent |
Vector of character strings; contents of a 'EXMARaLDA' .exb file . |
transcriptName |
Character string; name of the transcript. |
Details
Imports the contents of a 'EXMARaLDA' .exb file and returns a transcript object.
The source is either the path to a .exb file or the contents of a .exb file obtained from the @file.content
of an existing transcript object.
If you pass 'fileContent' you need to pass 'transcriptName' as parameter, too.
Please note:
'EXMARaLDA' allows for empty time slots without a time values. Missing values will be interpolated during the import. You will not be able to recognize interpolated values in the data.
Meta data for tiers (such as the display name etc.) will not be imported.
Media files are referenced not by their path but only as file names in .exb files. The names will be imported but will not work as paths in act.
Value
Transcript object.
See Also
corpus_import
, corpus_new
, import
, import_eaf
, import_rpraat
, import_textgrid
Examples
library(act)
## Not run:
# To import a .TextGrid file of your choice:
filePath <- "PATH_TO_AN_EXISTING_TEXTGRID_ON_YOUR_COMPUTER"
t <- act::import_exb(filePath=filePath)
t
## End(Not run)