speaker.speaker.Speaker
speaker.speaker.Speaker(self, arg=None, file_name=None)
This is a class to represent speaker information. The argument to Speaker() can be one of
- A .yaml file
- A .csv file
- A .xlsx file
- An old fave .speaker file
With the exception of the old .speaker files, to work well with new-fave, these speaker files should contain the following fields
file_name: The file stem of the wav and textgrid filesspeaker_num: The speaker to be analyzed in a file. the first speaker is1.
Attributes
| Name | Type | Description |
|---|---|---|
| df | pl.DataFrame |
A polars data frame of speaker information |