Skip to content

textproc_settings

Classes

FixFormattingProfile

Bases: BaseModel

Attributes

chain class-attribute instance-attribute
chain: str = Field(
    ...,
    title="Chain",
    description="Reference to the TextProc/FixFormatting chain used by the profile",
)
description class-attribute instance-attribute
description: str = Field(
    ...,
    title="Description",
    description="Description of the Fix Formatting Profile",
)
original_format class-attribute instance-attribute
original_format: str = Field(
    ...,
    title="Original Format",
    description="Original format",
)
splitter_factory class-attribute instance-attribute
splitter_factory: IoCFactoryModel = Field(
    ..., title="Splitter", description="Splitter"
)
text_block_format class-attribute instance-attribute
text_block_format: str = Field(
    ...,
    title="Text Block Format",
    description="Text block format",
)

TextProcSettings

Bases: BaseModel

Attributes

chain_initializer class-attribute instance-attribute
chain_initializer: InitializerModel | None = Field(
    ...,
    title="Chain Initializer",
    description="TextProc chain initializer",
)
chains class-attribute instance-attribute
chains: Dict[str, IoCFactoryModel] = Field(
    default_factory=dict,
    title="Chains",
    description="Chain definitions used by Evaluate",
)
fix_formatting_profiles class-attribute instance-attribute
fix_formatting_profiles: Dict[str, FixFormattingProfile] = (
    Field(
        ..., title="Fix Formatting Profiles", description=""
    )
)