Gender

class audformat.define.Gender[source]

Gender scheme definitions.

Specifies string values representing gender labels that are recommended to use with a scheme that contains gender labels, e.g. audformat.Scheme('str', labels=['female', 'male']). The exact string values are not part of the scheme specifications, and can be changed if desired.

__eq__()

Gender.__eq__(value, /)

Return self==value.

CHILD

Gender.CHILD = 'child'

Child gender label.

Female and male children have a voice more common to each other than to a female or male grown up. Hence, we provide a common child label.

FEMALE

Gender.FEMALE = 'female'

Female gender label.

MALE

Gender.MALE = 'male'

Male gender label.

OTHER

Gender.OTHER = 'other'

Other gender label.

Should include labels that are not covered by female, male, or child, e.g. diverse.