Package: act 1.3.0

act: Aligned Corpus Toolkit

The Aligned Corpus Toolkit (act) is designed for linguists that work with time aligned transcription data. It offers functions to import and export various annotation file formats ('ELAN' .eaf, 'EXMARaLDA .exb and 'Praat' .TextGrid files), create print transcripts in the style of conversation analysis, search transcripts (span searches across multiple annotations, search in normalized annotations, make concordances etc.), export and re-import search results (.csv and 'Excel' .xlsx format), create cuts for the search results (print transcripts, audio/video cuts using 'FFmpeg' and video sub titles in 'Subrib title' .srt format), modify the data in a corpus (search/replace, delete, filter etc.), interact with 'Praat' using 'Praat'-scripts, and exchange data with the 'rPraat' package. The package is itself written in R and may be expanded by other users.

Authors:Oliver Ehmer [aut, cre]

act_1.3.0.tar.gz
act_1.3.0.zip(r-4.5)act_1.3.0.zip(r-4.4)act_1.3.0.zip(r-4.3)
act_1.3.0.tgz(r-4.4-any)act_1.3.0.tgz(r-4.3-any)
act_1.3.0.tar.gz(r-4.5-noble)act_1.3.0.tar.gz(r-4.4-noble)
act_1.3.0.tgz(r-4.4-emscripten)act_1.3.0.tgz(r-4.3-emscripten)
act.pdf |act.html
act/json (API)

# Install 'act' in R:
install.packages('act', repos = c('https://oliverehmer.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/oliverehmer/act/issues

Datasets:

On CRAN:

6.65 score 4 stars 188 scripts 364 downloads 6 mentions 71 exports 20 dependencies

Last updated 2 years agofrom:bbc363f440. Checks:OK: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 26 2024
R-4.5-winWARNINGOct 26 2024
R-4.5-linuxWARNINGOct 26 2024
R-4.4-winWARNINGOct 26 2024
R-4.4-macWARNINGOct 26 2024
R-4.3-winWARNINGOct 26 2024
R-4.3-macWARNINGOct 26 2024

Exports:annotations_allannotations_deleteannotations_delete_emptyannotations_matrixannotations_replace_copycorpus_exportcorpus_importcorpus_newexport_eafexport_exbexport_printtranscriptexport_rpraatexport_srtexport_textgridhelper_format_timehelper_tiers_merge_tableshelper_tiers_new_tablehelper_tiers_sort_tablehelper_transcriptNames_gethelper_transcriptNames_makehelper_transcriptNames_setimportimport_eafimport_exbimport_rpraatimport_textgridinfoinfo_summarizedmatrix_loadmatrix_savemedia_assignmedia_deletemedia_getPathToExistingFileoptions_deleteoptions_resetoptions_showsearch_concordancesearch_cutssearch_cuts_mediasearch_cuts_printtranscriptsearch_cuts_srtsearch_makefiltersearch_newsearch_openresult_inelansearch_openresult_inpraatsearch_openresult_inquicktimesearch_playresults_inquicktimesearch_results_exportsearch_results_importsearch_runsearch_searchandopen_inpraatsearch_subsearch_transcript_contentsearch_transcript_fulltexttiers_addtiers_alltiers_converttiers_deletetiers_renametiers_sorttranscripts_addtranscripts_curetranscripts_cure_singletranscripts_deletetranscripts_filtertranscripts_filter_singletranscripts_mergetranscripts_merge2transcripts_renametranscripts_update_fulltextstranscripts_update_normalization

Dependencies:clicrayongluehmslifecyclemagrittropenxlsxpkgconfigprettyunitsprogressR6RcpprlangstringistringrtextutilsvctrsXMLxml2zip

Install FFmpeg

Rendered frominstall_ffmpeg.Rmdusingknitr::rmarkdownon Oct 26 2024.

Last update: 2023-02-07
Started: 2023-02-07

Install sendpraat

Rendered frominstall_sendpraat.Rmdusingknitr::rmarkdownon Oct 26 2024.

Last update: 2023-02-07
Started: 2023-02-07

Readme and manuals

Help Manual

Help pageTopics
Aligned Corpus Toolkitact
All annotations in a corpusannotations_all
Delete annotationsannotations_delete
Delete empty annotationsannotations_delete_empty
Search and replace contents of annotations using a matrixannotations_matrix
Search, replace and copy the contents of annotationsannotations_replace_copy
Export transcripts of a corpuscorpus_export
Import annotation files into corpus objectcorpus_import
Create a new corpus objectcorpus_new
Corpus objectcorpus-class
Example corpus for the act packageexamplecorpus
Export a transcript object to a 'ELAN' .eaf fileexport_eaf
Export a transcript object to a 'EXMARaLDA' .exb fileexport_exb
Export a transcript object to a print transcriptexport_printtranscript
Export a transcript object to a 'rPraat' TextGrid objectexport_rpraat
Export a transcript object to a .srt subtitle fileexport_srt
Export a transcript object to a 'Praat' .TextGrid fileexport_textgrid
Formats time as HH:MM:SS,mmmhelper_format_time
Helper: Merge tier tableshelper_tiers_merge_tables
Helper: Create a tier tablehelper_tiers_new_table
Helper: Sort a tier tablehelper_tiers_sort_table
Helper: Get names of all transcripts in a corpushelper_transcriptNames_get
Helper: Makes valid names for all transcripts in a corpushelper_transcriptNames_make
Helper: Set names of all transcripts in a corpushelper_transcriptNames_set
Import a single annotation fileimport
Import a single 'ELAN' '*.eaf' fileimport_eaf
Import a single 'EXMARaLDA' .exb fileimport_exb
Import a single 'rPraat' TextGrid objectimport_rpraat
Import a single 'Praat' .TextGrid fileimport_textgrid
Information about corpus and transcript objectsinfo
Summarized information about corpus and transcript objectsinfo_summarized
Layout object, defining the layout of print transcriptslayout-class
Load replacement matrixmatrix_load
Save replacement matrixmatrix_save
Assign media file links to transcript objectsmedia_assign
Delete media files links from transcript objectsmedia_delete
Gets the path of a media file for a transcriptmedia_getPathToExistingFile
delete all options set by the package from R optionsoptions_delete
Reset options to default valuesoptions_reset
Options of the packageoptions_show
Make concordance for search resultssearch_concordance
Create print transcripts, media cutlists and srt subtitles for all search resultssearch_cuts
Create cut lists for 'FFmpeg'search_cuts_media
Create print transcripts for all search resultssearch_cuts_printtranscript
Create .srt subtitles for all search resultssearch_cuts_srt
Makes a filter for transcript and tier namessearch_makefilter
Create a new searchsearch_new
Open a search result in 'ELAN'search_openresult_inelan
Open a search result in 'Praat'search_openresult_inpraat
Open a search result in 'Quicktime' (and play it)search_openresult_inquicktime
Open all search results in 'Quicktime' and play themsearch_playresults_inquicktime
Exports search resultssearch_results_export
Import search resultssearch_results_import
Run a searchsearch_run
Search corpus and open first result in Praatsearch_searchandopen_inpraat
Add a sub search to a prior searchsearch_sub
Search in original content of a single transcriptsearch_transcript_content
Search in full text of a single transcriptsearch_transcript_fulltext
Search objectsearch-class
Add tierstiers_add
All tiers in a corpustiers_all
Convert tierstiers_convert
Delete tierstiers_delete
Rename tierstiers_rename
Reorder tiers in all transcripts of a corpustiers_sort
transcript objecttranscript-class
Add transcripts to a corpustranscripts_add
Cure all transcript objects in a corpustranscripts_cure
Cure a single transcripttranscripts_cure_single
Delete transcripts from a corpustranscripts_delete
Filter all transcripts in a corpustranscripts_filter
Filter a single transcripttranscripts_filter_single
Merge several transcriptstranscripts_merge
Merge several transcripts (works with transcript objects directly)transcripts_merge2
Rename transcripts in a corpustranscripts_rename
Update full textstranscripts_update_fulltexts
Normalize transcriptionstranscripts_update_normalization