Table of Contents

Field KeepSpacings

Namespace
LMKit.Retrieval
Assembly
LM-Kit.NET.dll

Determines whether the system preserves multiple consecutive spaces and maintains the original text layout.

public bool KeepSpacings

Returns

bool

The default value is false.

Remarks

When set to true, this property ensures the system retains all spacing characters, such as spaces and tabs, exactly as they appear in the original content.
This feature is particularly useful for processing text extracted from documents with structured layouts, where the spacing is critical for maintaining the integrity of the data presentation.
Enabling this property can be beneficial for tasks that require precise text alignment, such as code formatting, tabulated data processing, or maintaining the layout of poetry or other stylized text.