pyeeg.features.alignment.TextGrid.get_word_intervals

TextGrid.get_word_intervals() List[Interval]

Get the intervals of the word tier.

Tier names checked first, in order: words, word, Word, WORDS. If none of these is present, the first tier whose intervals have alphabetic labels or labels containing a space is used as a fallback.

Returns:

intervals – Word-level intervals, or an empty list if no word tier is found.

Return type:

list of Interval