Measure acoustic-prosodic entrainment in speech
Project description
entrainment-metrics
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.5.tar.gz
(14.4 kB
view details)
Built Distribution
File details
Details for the file entrainment_metrics-1.0.5.tar.gz
.
File metadata
- Download URL: entrainment_metrics-1.0.5.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.8.3 Linux/5.15.0-91-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e054980a07170f1713cfd2a7c8beb547a5ceebbc1ad55c297730aa8bf3516d9 |
|
MD5 | 4902bc6fdd1cd71d10de28ad260c6e8c |
|
BLAKE2b-256 | 036aa38cbe8c83d4324f2f35235fe4d34d145c2cf35e5bf6a22f519cae42069e |
File details
Details for the file entrainment_metrics-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: entrainment_metrics-1.0.5-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.8.3 Linux/5.15.0-91-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5348b94e17f29d58bd4bf840678480b1b69b4e42d44e7854bb7f9f4f06eaf56 |
|
MD5 | 01fe7cc14acab213e4d18e50218a256a |
|
BLAKE2b-256 | 33a7a6a4c42b237537fe67a3824ead5d04f905ed2436b818a1f729a6474f748d |