| corpus-class | R Documentation |
This is the main object the act package uses. It collects the annotations and meta data from loaded annotation files.
Some of the slots are defined by the user.
Some slots report results, such as @import.results and @history and .
Other slots are settings and are used when performing functions on the corpus oibject.
To change the normalization matrix use x@normalization.matrix <- act::matrix_load(path="...")
nameCharacter string; Name of the corpus.
transcriptsList of transcript objects; Each annotation file that has been load is stored in this list as a transcript object.
paths.annotation.filesVector of character strings; Path(s) to one or several folders where your annotation files are located.
paths.media.filesVector of character strings; Path(s) to one or several folders where your media files are located.
normalization.matrixData.frame; Replacement matrix used for normalizing the annotations.
import.skip.double.filesLogical; if TRUE files with the same names will be skipped (only one of them will be loaded), if FALSE transcripts will be renamed to make the names unique.
import.names.includeVector of character strings; Only files matching this regular expression will be imported into the corpus.
import.names.excludeVector of character strings; Files matching this regular expression will be skipped and not imported into the corpus.
import.names.modifyList; Options how to modify the names of the transcript objects when they are added to the corpus. These options are useful, for instacne, if your annotation files contain character sequences that you do not want to include into the transcript name in the corpus (e.g. if you regularly add a date to the file name of your annotations files as 'myFile_2020-09-21.TextGrid').
import.resultsData.frame; information about the import of the annotation files.
historyList; History of modifications made by any of the package functions to the corpus.
library(act)
examplecorpus
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.