plexus.processors.AddUnknownSpeakerIdentifiersTranscriptFilter module

class plexus.processors.AddUnknownSpeakerIdentifiersTranscriptFilter.AddUnknownSpeakerIdentifiersTranscriptFilter(**parameters)

Bases: Processor

Processor that replaces all speaker identifiers with ‘Unknown Speaker:’.

Initialize the processor with configuration parameters.

Args:

**parameters: Processor-specific configuration parameters

process(score_input: Score.Input) Score.Input

Process the Score.Input by replacing speaker identifiers.

Args:

score_input: Score.Input with text

Returns:

Score.Input with speaker identifiers replaced