Getting started
Format specification
API Documentation
Development
A rater is the author of an annotation.
type (str) – rater type, see audformat.define.RaterType for available rater types
str
audformat.define.RaterType
description (Optional[str]) – rater description
Optional
meta (Optional[dict]) – additional meta fields
dict
BadValueError – if an invalid type is passed
type
Examples
>>> Rater(define.RaterType.HUMAN) {type: human}
Return self==value.
bool
Description
Serialize object to YAML.
stream – file-like object. If None serializes to string
None
indent (int) – indent
int
YAML string
Deserialize object from dictionary.
d (dict) – dictionary of class variables to assign
ignore_keys (Optional[Sequence[str]]) – variables listed here will be ignored
Sequence
Dictionary with meta fields
Serialize object to dictionary.
dictionary with attributes
Rater type