Tools

Utility classes for specific purpose, mainly for processing DCASE challenge submissions for publishing.

DatasetPacker

dcase_util.tools.DatasetPacker

DatasetPacker class can be used to create DCASE styled dataset packages where different data types delivered with separate packages. Large data packages are split into multiple smalled ones to ease downloading them over net.

DatasetPacker([package_size_limit, ...])

Constructor

DatasetPacker.pack([dataset_name, content, ...])

Pack dataset.

DatasetPacker.convert_markdown(...)

Convert markdown document to HTML document.

SubmissionChecker

dcase_util.tools.SubmissionChecker

SubmissionChecker class can be used to check DCASE challenge submission meta yaml files.

SubmissionChecker(entry_label[, mode, ...])

Submission meta data and system output checker class

SubmissionChecker.process([...])

Process submission entry and apply all check-ups

BibtexProcessor

dcase_util.tools.BibtexProcessor

This class provides tools to form bibtex entries for the DCASE challenge submissions.

BibtexProcessor([year])

Simple Bibtex field processing class to prepare bibtex entries for the challenge and workshop submissions.

BibtexProcessor.key(authors[, title, year])

Bibtex key generation.

BibtexProcessor.authors(authors)

Author list in format [lastname1], [firstname1] and [lastname2], [firstname2].

BibtexProcessor.authors_fancy(authors[, ...])

Author list with affiliation indexes.

BibtexProcessor.affiliation_str(data)

Affiliation string.

BibtexProcessor.affiliation_list(authors)

Collect all unique affiliations

BibtexProcessor.affiliation_list_fancy(authors)

Affiliation string with indexes.

BibtexProcessor.submissions_fancy(submissions)

HTML string with submission labels

BibtexProcessor.title(title)

Process publication title.

BibtexProcessor.abstract(abstract)

Process publication abstract.