audformat.define

DataType

class audformat.define.DataType[source]

Data types of column content.

BOOL = 'bool'
DATE = 'date'
FLOAT = 'float'
INTEGER = 'int'
STRING = 'str'
TIME = 'time'

Gender

class audformat.define.Gender[source]

Gender scheme definitions.

CHILD = 'child'
FEMALE = 'female'
MALE = 'male'
OTHER = 'other'

IndexField

class audformat.define.IndexField[source]

Index fields defined in table specifications.

END = 'end'
FILE = 'file'
START = 'start'

IndexType

class audformat.define.IndexType[source]

Index types defined in table specifications.

FILEWISE = 'filewise'
SEGMENTED = 'segmented'

License

class audformat.define.License[source]

Common public licenses recommended to use with your data.

CC0_1_0 = 'CC0-1.0'
CC_BY_4_0 = 'CC-BY-4.0'
CC_BY_NC_4_0 = 'CC-BY-NC-4.0'
CC_BY_NC_SA_4_0 = 'CC-BY-NC-SA-4.0'
CC_BY_SA_4_0 = 'CC-BY-SA-4.0'

MediaType

class audformat.define.MediaType[source]

Media type of table.

AUDIO = 'audio'
OTHER = 'other'
VIDEO = 'video'

RaterType

class audformat.define.RaterType[source]

Rater type of column.

HUMAN = 'human'
MACHINE = 'machine'
OTHER = 'other'
TRUTH = 'ground truth'
VOTE = 'vote'

SplitType

class audformat.define.SplitType[source]

Split type of table.

DEVELOP = 'dev'
OTHER = 'other'
TEST = 'test'
TRAIN = 'train'

TableStorageFormat

class audformat.define.TableStorageFormat[source]

Storage format of tables.

CSV = 'csv'
PICKLE = 'pkl'

Usage

class audformat.define.Usage[source]

Usage permission of database.

COMMERCIAL = 'commercial'
OTHER = 'other'
RESEARCH = 'research'
RESTRICTED = 'restricted'
UNRESTRICTED = 'unrestricted'