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
Release history Release notifications | RSS feed
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
Close
Hashes for lium_diarization_editor-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 048e11c8a41a80a473a790b7842f6a022fedb52c452c464361c13f44cb22adf1 |
|
MD5 | a6cb8eaed62863deb4ef8a25c97d236c |
|
BLAKE2b-256 | 70891b4efc5c067fd0d19f3cd6813c86a9617ff9fe357a6e7f8622574526873a |
Close
Hashes for lium_diarization_editor-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70279f44c3ce99c058464de15669cf7967cdc6ed98afbcc2a37be7a5e04ae31e |
|
MD5 | b7437430580510c59493de8f420b1a0d |
|
BLAKE2b-256 | 461c1228200f065384c11e1ec4b18cbbd4fe4ecb8b3aa5fd31c718eeebf68248 |