Read and write Praat TextGrids in Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
tgre
.gitignore
LICENSE
MANIFEST.in
README.rst
setup.py

README.rst

This package is for reading and writing Praat TextGrid annotations in Python. It can read TextGrid files that are compatible with the TextGrid file format specification. It is tested to work with Python 2.7, 3.4, 3.5, and 3.6.

Usage

The tgre.py module docstring shows some usage examples, and the docstrings in tgre.py have more detail on functionality.

Installation

The package can be installed from PyPI with this command:

pip install tgre

The latest version can also be installed from GitHub with this command:

pip install git+http://github.com/scjs/tgre.git

You can also copy the tgre subdirectory into your working directory, or put it in your Python path.

Tests

To run the tests, run nosetests from the root directory, or python setup.py test to install the test dependencies first.

References

Boersma, Paul & Weenink, David (2016). Praat: doing phonetics by computer [Computer program]. Version 6.0.12, retrieved from http://www.praat.org/