Skip to main content

Editor/viewer for LIUM diarizations.

Project description

A very simple viewer/editor for LIUM speaker diarizations.

Installation

pip install lium-diarization-editor

Usage

The package provides the command lium-dia-edit:

Usage: lium-dia-edit [OPTIONS]

  View or edit a diarization.

Options:
  -a, --audio TEXT        Load an audio file belonging to the diarization.
  -d, --dia TEXT          A LIUM diarization file.
  -p, --pickled-dia TEXT  A pickled diarization, as created using the --save
                          option.
  -s, --save TEXT         Where to save the diarization (as pickle) when
                          pressing "s".
  --help                  Show this message and exit.

Within the editor, use the following keys to do stuff:

Key Function
space play/pause
left/right 10s backward/forward
p/n previous/next segment
m next unmoderated segment
l limit playback to current speaker
s save diarization
u undo last change
home go to beginning
0-9 change speaker of current segment to M<0-9>

Contributing

  • Install pipenv
  • Fork and clone the repository
  • In the repository, run pipenv install --dev to install required packages and the package itself into a virtualenv
  • To activate the virtualenv, run pipenv shell
  • Make changes, commit, push
  • Create a pull request

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

lium_diarization_editor-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

lium_diarization_editor-0.1.1-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file lium_diarization_editor-0.1.1.tar.gz.

File metadata

  • Download URL: lium_diarization_editor-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

File hashes

Hashes for lium_diarization_editor-0.1.1.tar.gz
Algorithm Hash digest
SHA256 048e11c8a41a80a473a790b7842f6a022fedb52c452c464361c13f44cb22adf1
MD5 a6cb8eaed62863deb4ef8a25c97d236c
BLAKE2b-256 70891b4efc5c067fd0d19f3cd6813c86a9617ff9fe357a6e7f8622574526873a

See more details on using hashes here.

File details

Details for the file lium_diarization_editor-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: lium_diarization_editor-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

File hashes

Hashes for lium_diarization_editor-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 70279f44c3ce99c058464de15669cf7967cdc6ed98afbcc2a37be7a5e04ae31e
MD5 b7437430580510c59493de8f420b1a0d
BLAKE2b-256 461c1228200f065384c11e1ec4b18cbbd4fe4ecb8b3aa5fd31c718eeebf68248

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