Skip to content

Read, write, and manipulate Praat TextGrid files with Python

License

Notifications You must be signed in to change notification settings

hbuschme/TextGridTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TextGridTools

Read, write, and manipulate Praat TextGrid files with Python

Copyright (C) 2011-2023 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]

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/

Citation

To cite TextGridTools in publications, please use (a BibTeX record can be found in the file CITATION):

  • 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.

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:

DOI