pyeeg.features.alignment.TextGrid.get_tier

TextGrid.get_tier(tier_name: str) List[Interval]

Get the intervals of a named tier.

Parameters:

tier_name (str) – Name of the tier to retrieve.

Returns:

intervals – The intervals in the requested tier, or an empty list if the tier is not present.

Return type:

list of Interval