Package: vocaldia 0.8.4

Saturnino Luz

vocaldia: Create and Manipulate Vocalisation Diagrams

Create adjacency matrices of vocalisation graphs from dataframes containing sequences of speech and silence intervals, transforming these matrices into Markov diagrams, and generating datasets for classification of these diagrams by 'flattening' them and adding global properties (functionals) etc. Vocalisation diagrams date back to early work in psychiatry (Jaffe and Feldstein, 1970) and social psychology (Dabbs and Ruback, 1987) but have only recently been employed as a data representation method for machine learning tasks including meeting segmentation (Luz, 2012) <doi:10.1145/2328967.2328970> and classification (Luz, 2013) <doi:10.1145/2522848.2533788>.

Authors:Saturnino Luz [aut, cre]

vocaldia_0.8.4.tar.gz
vocaldia_0.8.4.tar.gz(r-4.5-noble)vocaldia_0.8.4.tar.gz(r-4.4-noble)
vocaldia_0.8.4.tgz(r-4.4-emscripten)vocaldia_0.8.4.tgz(r-4.3-emscripten)
vocaldia.pdf |vocaldia.html
vocaldia/json (API)
NEWS

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

Peer review:

Datasets:
  • atddia - A sample Medical Team Meeting dialogue encoded as a vocaldia
  • vocmatrix - A sample vocalisation matrix

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

28 exports 0.00 score 0 dependencies 21 scripts 229 downloads

Last updated 2 years agofrom:af03c18a4b. Checks:OK: 1 NOTE: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 03 2024
R-4.5-linuxNOTESep 03 2024

Exports:anonymisegetEntropygetIDsgetPauseTypegetPIDgetPofAgivenBgetSampledVocalCountMatrixgetSampledVocalMatrixgetSilencesgetSyllablesAndSilencesgetTranscriptgetTurnTakingMatrixgetTurnTakingProbMatrixgetTurnTypeidentifyGrpVocalisationsidentifyPausesidentifyVocalisationsigraph.vocaldiamakeSessionDataSetmakeVocalStatsDatasetmatrixExpnamePausesprintARFFfileread.chastartmatrixstaticMatrixtoDotNotationwrite.vocaldia

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
vocaldia: Create and Manipulate Vocalisation Diagramsvocaldia-package vocaldia
anonymise: anonymise a vocalisation diagramanonymise anonymise.default anonymise.vocaldia
appendSpeechRate: append pre-generated speech rate data to given dataframe tappendSpeechRate
A sample Medical Team Meeting dialogue encoded as a vocaldiaatddia
getEntropy: safely return the Shannon entropy of a distribution.getEntropy
getIDs get speaker role IDs (PAR, INV) and info from CHA contentgetIDs
getPauseType: name pause type between two vocalisation events.getPauseType
getIDs get study-wide unique patient IDs from CHA contentgetPID
getPofAgivenB: transtion probability.getPofAgivenB
getSampledVocalCountMatrix: generate vocalisation diagramsgetSampledVocalCountMatrix
getSampledVocalCountMatrix: generate vocalisation diagramsgetSampledVocalMatrix
getSilences read silences filegetSilences
getSyllablesAndSilences: process Praat's grid for syllable nucleigetSyllablesAndSilences
getTranscript: get transcription lines from .cha contentgetTranscript
getSampledVocalCountMatrix: generate vocalisation diagramsgetTurnTakingMatrix
getTurnTakingProbMatrix: create a vocaldia from a data.frame.getTurnTakingProbMatrix
getTurnType: return type of turngetTurnType
identifyGrpVocalisations: replace appropriate vocalisation typesidentifyGrpVocalisations
identifyPauses: label pauses according to type.identifyPauses
identifyVocalisations: replace appropriate vocalisation typesidentifyVocalisations
igraph.vocaldia: Create an igraph vocalisation diagramigraph.vocaldia
makeSessionDataSet: create a data frame for a session (e.g. cookie scene description) based on .cha transcription filesmakeSessionDataSet
makeVocalStatsDataset: create a dataset of vocalisation statistics (1 row per patient)makeVocalStatsDataset
matrixExp: raise matrix to exp.matrixExp
namePauses: name pause types.namePauses
plotConvergence: plots Markov diagram convergence.plot.matrixseries
plot.vocaldiaplot.vocaldia
printARFFfile: Create arff files by creating and flattening vocaldiasprintARFFfile
read.cha read CHA transcription file (format used by DementiaBank)read.cha
startmatrix: return the first matrix of a converging series.startmatrix startmatrix.default startmatrix.matrixseries
staticMatrix Iterate until transition probabilities converge (or give up).staticMatrix
toDotNotation: conver vocaldia to graphviz dot notationtoDotNotation
A sample vocalisation matrixvocmatrix
write.vocaldiawrite.vocaldia