Skip to content

Caption Output Formatter Builder

Builder for caption output formatters.

This module provides a factory function to create caption output formatters based on the specified formatting strategy.

build_caption_output_formatter(formatting_strategy)

Build a caption output formatter based on the provided formatting strategy.

Parameters:

Name Type Description Default
formatting_strategy CaptionOutputFormattingStrategy

The formatting strategy to use.

required

Returns:

Name Type Description
BaseCaptionOutputFormatter BaseCaptionOutputFormatter

The caption output formatter.