TextGridConverter
convert .lab files to .TextGrid files, which can be used in Praat
Install / Use
/learn @Syuparn/TextGridConverterREADME
TextGridConverter
convert .lab files to .TextGrid files, which can be used in Praat
Description
TextGridConverter converts .lab files generated by Julius segmentation kit to .TextGrid files, which can be used in Praat. With this code and Julius segmentation kit, you can get phonetic labels of .wav files for Praat automatically.
Features
- convert all .lab files in a directory (recursively)
- method to change segmantation unit (phonemes to moras)
Requirement
- Python 3.6 or more
Usage
- To convert .lab files in directory dir/to/path:
python convert_label.py dir/to/path
- Choose weather separate unit (phoneme or mora) is used
change segmentation unit to mora? (default:phoneme) y/n:
- This converts all .lab files in dir/to/path to .TextGrid files (recursively)
Installation
$ git clone https://github.com/Syuparn/TextGridConverter
Anything Else
Before using Julius segmentation kit, you should resample .wav files to 16kHz. convertwav_to_16khz.praat will help you to resample. This converts all wav files in a directory.
Author
syuparn
License
Related Skills
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
