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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bda21c7414a1419c45cb32a3c24c5411cb59fde7dbb0648213a2243c8c8f0da |
|
MD5 | 20ccfaa2cd72915f0ea3e7b554e5ad28 |
|
BLAKE2b-256 | 8d0568540c521c04637727fba7f24067aaa03a5582a56e15c63f5a1f66dea3a0 |
Close
Hashes for lium_diarization_editor-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92454064df4d5f8a0c43460fc5b13d54d7fb2fc81f46f5f6a6e9f6d4b06fac27 |
|
MD5 | a1f8f9408f00d59583a093cf58f393c9 |
|
BLAKE2b-256 | 0ce9fd10691448c565baf1bb6f5caf93fac2241b6bc0562cc890d1869f846d50 |