caluap / SrtToTextgrid

Python script to convert .srt subtitle files to Praat .textgrid files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SrtToTextgrid

Python script to convert .srt subtitle files to Praat .textgrid files. It's general enough that it may work on other types of files like .sub or .sbv, but please be cautious.

Written in Python 2.7.3, may not work in Python 3.

Example file is a .srt file based on a Youtube transcription of Katie Bell's keynote at a 2015 meeting of the New Zealand Python User Group. Url: https://www.youtube.com/watch?v=dj9RR4BSqvM It's almost an hour, so the audio is really too big to upload.

About

Python script to convert .srt subtitle files to Praat .textgrid files


Languages

Language:Python 100.0%