View source: R/export_rpraat.R
export_rpraat | R Documentation |
Advice: In most situations it is more convenient to use act::corpus_export
for exporting annotation files.
export_rpraat( t, filterTierNames = NULL, filterSectionStartsec = NULL, filterSectionEndsec = NULL )
t |
Transcript object; transcript to be converted. |
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. |
This function is to create compatibility with the rPraat
package.
It converts an act transcript to a rPraat TextGrid object.
Credits: Thanks to Tomáš Bořil, the author of the rPraat package, for commenting on the exchange functions.
rPraat TextGrid object
import_rpraat
, corpus_export
, export_eaf
, export_exb
, export_printtranscript
, export_srt
, export_textgrid
library(act) # Convert rpraat.tg <- act::export_rpraat(t=examplecorpus@transcripts[[1]]) # Now you can use the object in the rPraat pachage. # For instance you can plot the TextGrid ## Not run: rPraat::tg.plot(rpraat.tg) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.