export_printtranscript | R Documentation |
If you want to modify the layout of the print transcripts, create a new layout object with mylayout <- methods::new("layout")
, modify the settings and pass it as argument l
.
In the layout object you may also set additional filters to include/exclude tiers matching regular expressions.
export_printtranscript( t, l = NULL, outputPath = NULL, filterTierNames = NULL, filterSectionStartsec = NULL, filterSectionEndsec = NULL, insert_arrow_annotationID = "", header_heading = "", header_firstinfo = "", collapse = TRUE )
t |
Transcript object. |
l |
Layout object. |
outputPath |
Character string; path where to save the transcript. |
filterTierNames |
Vector of character strings; names of tiers to be included. If left unspecified, all tiers will be exported. |
filterSectionStartsec |
Double; start of selection in seconds. |
filterSectionEndsec |
Double; end of selection in seconds. |
insert_arrow_annotationID |
Integer; ID of the annotation in front of which the arrow will be placed. |
header_heading |
Character string; text that will be used as heading. |
header_firstinfo |
Character string; text that will used as first information in the header. |
collapse |
Logical; if |
Character string; transcript as text.
corpus_export
, export_eaf
, export_exb
, export_rpraat
, export_srt
, export_textgrid
library(act) # Get a transcript t <- examplecorpus@transcripts[[1]] # Create print transcript printtranscript <- act::export_printtranscript (t=t) # Display on screen cat(printtranscript)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.