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 --devto 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
Metadata
Release files for lium-diarization-editor 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lium_diarization_editor-0.1.1.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lium_diarization_editor-0.1.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 8.6 kB
Release files / lium_diarization_editor-0.1.1.tar.gz
| Download URL | lium_diarization_editor-0.1.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
048e11c8a41a80a473a790b7842f6a022fedb52c452c464361c13f44cb22adf1
|
|
BLAKE2b-256 checksum How to use checksums |
70891b4efc5c067fd0d19f3cd6813c86a9617ff9fe357a6e7f8622574526873a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / lium_diarization_editor-0.1.1-py2.py3-none-any.whl
| Download URL | lium_diarization_editor-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
70279f44c3ce99c058464de15669cf7967cdc6ed98afbcc2a37be7a5e04ae31e
|
|
BLAKE2b-256 checksum How to use checksums |
461c1228200f065384c11e1ec4b18cbbd4fe4ecb8b3aa5fd31c718eeebf68248
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|