This script is used to aggregate the output of algorithms generated with PRAAT into a CSV
Macos systems
brew install python
Linux Systems (Debian)
sudo apt get install python
Windows system
Clone this repository
git clone git@github.com:Captnlink/praat-aggregator-csv.git
There is two operation available, aggregate
and count
.
The scrip will find all files in a directory and its sub-directory that match the algorithm and perform the operation on them.
Each file should be named participantID_sessionName_projectName_SentenceName.algorithm
.
Each file should be in a subfolder named after the frequency range of the PRAAT analysis
The aggregate function read all files with an extension equal to algorithm
and transform them in
a single line of a CSV.
In a terminal
python sources/main.py -d "PATH/TO/DIRECTORY" -a algorithm aggregate
python sources/main.py -d "PATH/TO/DIRECTORY" -a normtimef0 aggregate
Count the number of occurrence of a certain algorithm and generate a JSON file
In a terminal
python sources/main.py -d "PATH/TO/DIRECTORY" -a wav count