Read, write, and manipulate Praat TextGrid files with Python
Copyright (C) 2011-2023 Hendrik Buschmeier, Marcin Włodarczak
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
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]
Current documentation can be viewed at https://textgridtools.readthedocs.io/en/stable/.
Alternatively, the API can be browsed with pydoc
(e.g., pydoc tgt.IntervalTier
), or documentation can be generated locally, using Sphinx, in the following way:
cd doc
make html # creates html documentation in doc/build/html/
To cite TextGridTools in publications, please use (a BibTeX record can be found in the file CITATION):
If you want to refer to the specific release you used, do that using its DOI (see the release notes). The DOI of the most recent release is: