Closed JoFrhwld closed 4 months ago
Right now, to create a SequenceInterval, we need
from aligned_textgrid import SequenceInterval from praatio.utilities.constants import Interval interval = SequenceInterval(Interval(0,1,"label"))
SequenceTiers, SequencePointTiers, SequencePoints similarly process just praatio classes.
Instead, we should also allow
from aligned_textgrid import SequenceInterval interval = SequenceInterval(start = 0, end = 1, label = "label")
This seems necessary for constructing textgrids with fewer imports and knowledge of praatio's API.
Yes, and I will submit a pull request soon.
closed by #191
What feature would you like added?
Right now, to create a SequenceInterval, we need
SequenceTiers, SequencePointTiers, SequencePoints similarly process just praatio classes.
Instead, we should also allow
What would the use case be for this feature?
This seems necessary for constructing textgrids with fewer imports and knowledge of praatio's API.
Would you like to help add this feature?
Yes, and I will submit a pull request soon.
Code of Conduct