Skip to main content

Measure acoustic-prosodic entrainment in speech

Project description

entrainment-metrics

Documentation Status

entrainment-metrics is all about being able to measure entrainment. Entrainment in spoken dialogue is commonly defined as a tendency of a speaker to adapt some properties of her speech to match her interlocutor’s. With this library you’ll be able to measure entrainment along one dimension: acoustic-prosodic (a/p) features.

Checkout the docs and the Getting started page for a deeper dive into the library!

Installation

  • To use entrainment_metrics, first install it using pip:
pip install entrainment_metrics
  • Speech feature extraction If you'll be using praat for feature extraction it's also required the command-line tool ffmpeg to be installed on your system, which is available from most package managers:
# on Ubuntu or Debian
sudo apt update && sudo apt install ffmpeg

# on Arch Linux
sudo pacman -S ffmpeg

# on MacOS using Homebrew (https://brew.sh/)
brew install ffmpeg

# on Windows using Chocolatey (https://chocolatey.org/)
choco install ffmpeg

# on Windows using Scoop (https://scoop.sh/)
scoop install ffmpeg

And for installing praat on Ubuntu or Debian:

sudo apt update && sudo apt install praat

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

entrainment_metrics-1.0.6.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

entrainment_metrics-1.0.6-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file entrainment_metrics-1.0.6.tar.gz.

File metadata

  • Download URL: entrainment_metrics-1.0.6.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/5.15.0-92-generic

File hashes

Hashes for entrainment_metrics-1.0.6.tar.gz
Algorithm Hash digest
SHA256 4b3678b7a96131cad3f9dae09ff60469775f18e5a5716e318052a53645287577
MD5 9bd9936c295f3fb63d0ce8be23e1510c
BLAKE2b-256 df790eda3b38d8c3fa5704b5bd59683db75314a855379d8a357c0b4a4eeba0b1

See more details on using hashes here.

File details

Details for the file entrainment_metrics-1.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for entrainment_metrics-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0c8035d1eec47e6eed4b2373b72acaddd7a7ff6c440852405a8e938481a3c699
MD5 bc1c1d1b5d818816fc706a6c0e72cdd9
BLAKE2b-256 a915ad44ea88d88d2bb5538d421c024e78c399de4c36b7f4a706e5cbac4835e4

See more details on using hashes here.

Supported by

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