Skip to main content

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, en or fr.
  • sex: 2 choices, male or female.
  • task: 2 choices, cookie_theft or picnic.

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 with lingualabpy_lingualab_audio from lingualabpy
  • population_uhmometer_metrics.csv: metrics compute with uhm-o-meter
  • population_lingualab_text.csv: metrics compute with Text2Variable
  • population_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

speechmetryflow-0.2.2.tar.gz (3.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

speechmetryflow-0.2.2-py3-none-any.whl (3.4 MB view details)

Uploaded Python 3

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

Hashes for speechmetryflow-0.2.2.tar.gz
Algorithm Hash digest
SHA256 cba7b8310dd139368e385b3ba62022402da2c4e76509ddb3e77730fc8116e7e3
MD5 8f9df40bb1d1e404defac254b9cb29d9
BLAKE2b-256 756bc1bc79eb0a40378c281874b05fc4c9fce6add8c2c4126eeecb5b6e8fa3ba

See more details on using hashes here.

File details

Details for the file speechmetryflow-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for speechmetryflow-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9f5cdaf068057b6554116146746c57fc0ce4c7fb3be6e6f9d694f34e0d4ff398
MD5 a864799fb385e11e30cddf1670c6cef9
BLAKE2b-256 6c294b810e92e8facb798be079a504d50f89841d4e333cf88f685f816366eab9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page