| options_show {act} | R Documentation |
Options of the package
Description
The package has numerous options that change the internal workings of the package.
Usage
options_show()
Details
There are several options that change the way the package works. They are set globally.
Use
options(name.of.option = value)to set an option.Use
options()$name.of.optionto get the current value of an option.Use
act::options_resetto set all options to the default value.Use
act::options_deleteto clean up and delete all option settings.
The package uses the following options.
Program
-
act.excamplecorpusURLcharacter strings; where to download example media files. -
act.updateXLogical; IfTRUEthe original corpus object 'x' passed passed to the search functionssearch_newandsearch_runwill also be updated, in case that during the search fulltexts are created or the normalization is performed. -
act.showprogresslogical; ifTRUEa progress bar will be shown during (possibly) time consuming operations.
Paths
-
act.path.praatCharacter string; path to the 'Praat' executable on your computer. Only necessary if you use the functions to remote control Praat using Praat scripts. -
act.path.sendpraatCharacter string; path to the 'sendpraat' executable on your computer. Only necessary if you use the functions to remote control Praat using Praat scripts. -
act.path.elanCharacter string; path to the 'ELAN' executable on your computer. Only necessary if you want to open search results in ELAN.
File formats
-
act.fileformats.videoVector of character strings; Suffixes of video files that will be identified; default is 'c("mp4", "mov")'. -
act.fileformats.audioVector of character strings; Suffixes of audio files that will be identified; default is 'c("wav", "aif", "mp3")'.
FFMPEG commands and options
-
act.ffmpeg.commandCharacter string; 'FFmpeg' command that is used for cutting video files. -
act.ffmpeg.command.fastVideoPostioningCharacter string; 'FFmpeg' command that is used for cutting video files using the 'FFmpeg' option 'fast video positioning'. This is considerably faster when working with long video files. -
act.ffmpeg.command.audioCharacter string; 'FFmpeg' command that is used for cutting/generating uncompressed audio files. -
act.ffmpeg.exportchannels.fromColumnNameCharacter string; Name of the column in the data frames@resultsfrom information, which audio channel to export, will be taken.
Import annotation files
-
act.import.readEmptyIntervalsLogical; ifTRUEempty intervals in you annotation files will be read, ifFALSEempty intervals will be skipped. -
act.import.scanSubfoldersLogical; ifTRUEsub folders will also be scanned for annotation files; ifFALSEonly the main level of the folders specified inpaths.annotation.filesof your corpus object will be scanned. -
act.import.storeFileContentInTranscriptifTRUEthe contents of the original annotation file will be stored intranscript@file.content. Set toFALSEif you want to keep your corpus object small.
Export
-
act.export.foldergrouping1.fromColumnNameCharacter string; Name of sub folders that will be created in the folder of the search result, level 1. -
act.export.foldergrouping2.fromColumnNameCharacter string; Name of sub folders that will be created in the folder of the search result, level 2. -
act.export.filename.fromColumnNameCharacter string; Name of the column from which the file names for exported files will be taken.
Miscellaneous
-
act.separator_between_intervalsCharacter; Single character that is used for separating intervals when creating the full text. -
act.separator_between_tiersCharacter; Single character that is used for separating tiers when creating the full text. -
act.separator_between_wordsCharacter string; regular expression with alternatives that count as separators between words. Used for preparing the concordance. -
act.wordCountRegExCharacter string; regular expression that is used to count words.
Value
Nothing.
Examples
library(act)
## Not run:
act::options_show()
## End(Not run)