Praat TextGrid Objects in R

The software application Praat can be used to annotate waveform data (e.g., to mark intervals of interest or to label events). (See < http://www.fon.hum.uva.nl/praat/> for more information about Praat.) These annotations are stored in a Praat TextGrid object, which consists of a number of interval tiers and point tiers. An interval tier consists of sequential (i.e., not overlapping) labeled intervals. A point tier consists of labeled events that have no duration. The 'textgRid' package provides S4 classes, generics, and methods for accessing information that is stored in Praat TextGrid objects.


The software application Praat can be used to annotate waveform data (e.g., to mark intervals of interest or to label events). These annotations are stored in a Praat TextGrid object, which consists of a number of interval tiers and point tiers. An interval tier consists of sequential (i.e., not overlapping) labeled intervals. A point tier consists of labeled events that have no duration. The textgRid package provides S4 classes, generics, and methods for accessing information that is stored in Praat TextGrid objects.

S4 classes:

The textgRid package defines four S4 classes, whose slots and accessors are described in the tables below.

Tier
Slot Type Accessor
@name character tierName()
@number numeric tierNumber()
IntervalTier (inherits from Tier)
Slot Type Accessor
@startTimes numeric intervalStartTimes()
@endTimes numeric intervalEndTimes()
@labels character intervalLabels()
PointTier (inherits from Tier)
Slot Type Accessor
@times numeric pointTimes()
@labels character pointLabels()
TextGrid
Slot Type Accessor
@.Data list (of IntervalTiers and PointTiers)
@startTime numeric textGridStartTime()
@endTime numeric textGridEndTime()

TextGrid object instantiation:

An instance of the TextGrid class is created with the S4 generic function TextGrid().

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("textgRid")

1.0.1 by Patrick Reidy, 3 years ago


www.praat.org, http://www.fon.hum.uva.nl/praat/manual/TextGrid.html


Report a bug at https://github.com/patrickreidy/textgRid


Browse source code at https://github.com/cran/textgRid


Authors: Patrick Reidy [aut, cre]


Documentation:   PDF Manual  


GPL-3 license


Imports methods

Suggests testthat


See at CRAN