Property KeepSpacings
KeepSpacings
Gets or sets whether to preserve original whitespace in the extracted text.
public bool KeepSpacings { get; set; }
Property Value
- bool
The default value is
false.
Examples
// Preserve whitespace when chunking preformatted HTML content.
var htmlChunker = new HtmlChunking { KeepSpacings = true };
ragEngine.DefaultIChunking = htmlChunker;