柳姆日记编辑/浏览者。
lium-diarization-editor的Python项目详细描述
一个非常简单的lium扬声器重影的查看器/编辑器。
安装
pip install lium-diarization-editor
用法
包提供命令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.
在编辑器中,使用以下键执行操作:
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> |
贡献
- 安装pipenv
- 分叉并克隆repository
- 在存储库中,运行
pipenv install --dev
将所需的包和包本身安装到virtualenv中 - 要激活virtualenv,请运行
pipenv shell
- 进行更改、提交、按
- 创建拉取请求