dcase_util.utils.FieldValidator
- class dcase_util.utils.FieldValidator[source]
- __init__(*args, **kwargs)
Methods
__init__
(*args, **kwargs)is_alpha
(field[, length])Test for alpha field with length 1
is_audiofile
(field)Test for audio file field
is_datafile
(field)Test for data file field
is_empty
(field)Test for empty field
is_list
(field)Test for list field, valid delimiters [ : ; #]
is_number
(field)Test for number field
process
(field)Test field
Attributes
ALPHA1
ALPHA2
AUDIOFILE
DATAFILE
EMPTY
FILE
LIST
NUMBER
STRING
audio_file_extensions
data_file_extensions