Python module to extract text metrics for speechmetryflow pipeline
Project description
speechmetryflow
Automated nextflow-based workflow designed to extract both audio and text metrics from speech tasks (like picture descriptions) at scale.
Running
nextflow run lingualab/speechmetryflow -r {last_release_or_tag} --input participant_ids.csv
Replace the -r option with the release you want to use
Files needed
participant_ids.csv
This CSV file must contain at least 4 columns:
- participant_id is required for the pipeline to find your files. These files must begin by the participant_id. To specify the folder where your files are located, see nextflow.config.
- language: 2 choices,
enorfr. - sex: 2 choices,
maleorfemale. - task: 2 choices,
cookie_theftorpicnic.
Example:
| participant_id | language | sex | task |
|---|---|---|---|
| sub-PKM8767 | en | male | cookie_theft |
| sub-SBK4467 | en | female | picnic |
nextflow.config
Example for elm server:
params {
audio_folder = "/data/brambati/dataset/CCNA/derivatives/audio_extract"
text_folder = "/data/brambati/dataset/CCNA/derivatives/cookie_txt"
}
And then run:
nextflow run lingualab/speechmetryflow -r {last_release_or_tag} -profile unf_elm --input participant_ids.csv
output
The pipeline produces csv files in results/Statistics directory:
population_lingualab_audio.csv: metrics compute withlingualabpy_lingualab_audiofrom lingualabpypopulation_uhmometer_metrics.csv: metrics compute with uhm-o-meterpopulation_lingualab_text.csv: metrics compute with Text2Variablepopulation_opensmile_metrics_{feature_set}.csv: metrics compute with opensmile
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file speechmetryflow-0.2.2.tar.gz.
File metadata
- Download URL: speechmetryflow-0.2.2.tar.gz
- Upload date:
- Size: 3.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cba7b8310dd139368e385b3ba62022402da2c4e76509ddb3e77730fc8116e7e3
|
|
| MD5 |
8f9df40bb1d1e404defac254b9cb29d9
|
|
| BLAKE2b-256 |
756bc1bc79eb0a40378c281874b05fc4c9fce6add8c2c4126eeecb5b6e8fa3ba
|
File details
Details for the file speechmetryflow-0.2.2-py3-none-any.whl.
File metadata
- Download URL: speechmetryflow-0.2.2-py3-none-any.whl
- Upload date:
- Size: 3.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f5cdaf068057b6554116146746c57fc0ce4c7fb3be6e6f9d694f34e0d4ff398
|
|
| MD5 |
a864799fb385e11e30cddf1670c6cef9
|
|
| BLAKE2b-256 |
6c294b810e92e8facb798be079a504d50f89841d4e333cf88f685f816366eab9
|