import_exb | R Documentation |
Advice: In most situations it is more convenient to use act::corpus_new
, act::corpus_import
for importing annotation files.
import_exb(filePath = NULL, fileContent = NULL, transcriptName = NULL)
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. |
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.
Transcript object.
corpus_import
, corpus_new
, import
, import_eaf
, import_rpraat
, import_textgrid
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.