Has all the same methods and attributes as SequenceInterval in addition to attributes described below. superset_class set to Word, and subset_class set to Bottom
A tuple or list of start, end and label, or another SequenceInterval
(None, None, None)
Examples
from aligned_textgrid import Word, PhoneDH = Phone((0, 1, "DH"))AH0 = Phone((1, 2, "AH0"))THE = Word((0, 2, "THE"))DH.set_word(THE)AH0.set_word(THE)print( (f"The phone is {DH.label}. "f"The next phone is {DH.fol.label}. "f"It is in the word {DH.inword.label}." ))
The phone is DH. The next phone is AH0. It is in the word THE.