i6_core.corpus.speaker

class i6_core.corpus.speaker.CorpusAddSpeakerTagsFromMappingJob(*args, **kwargs)

Adds speaker tags from given mapping defined by dictonary to corpus

Parameters:
  • corpus – Corpus to add tags to

  • mapping – pickled dictionary that defines a mapping corpus fullname -> speaker id

run()
tasks()
Returns:

yields Task’s

Return type:

list[sisyphus.task.Task]

class i6_core.corpus.speaker.CorpusRemoveSpeakerTagsJob(*args, **kwargs)

Remove speaker tags from given corpus

Parameters:

corpus – Corpus to remove the tags from

run()
tasks()
Returns:

yields Task’s

Return type:

list[sisyphus.task.Task]