Read, write, and manipulate Praat TextGrid files with Python
Python

README.md

TextGridTools

Read, write, and manipulate Praat TextGrid files with Python

Copyright (C) 2011-2016 Hendrik Buschmeier, Marcin Włodarczak

Installation

Installation with python distribute (stable version)

pip install tgt

Installation via github (development version)

git clone https://github.com/hbuschme/TextGridTools.git
cd TextGridTools
python setup.py install

Documentation

Buschmeier, H. & Włodarczak, M. (2013). TextGridTools: A TextGrid processing and analysis toolkit for Python. In Proceedings der 24. Konferenz zur Elektronischen Sprachsignalverarbeitung, pp. 152–157, Bielefeld, Germany. [pdf]

The API can be browsed with pydoc (e.g., pydoc tgt.IntervalTier). Alternatively it is possible to generate documentation with Sphinx in the following way:

cd doc
make html # creates html documentation in doc/build/html/