Enum TextShrinkingStrategy
- Namespace
- LMKit.TextAnalysis
- Assembly
- LM-Kit.NET.dll
Defines the strategies available for shrinking text content.
public enum TextShrinkingStrategy
Fields
Auto = 0
Automatically selects the most appropriate shrinking method based on the engine's internal logic. This ensures optimal performance and effectiveness without manual intervention.
RemoveWords = 1
Utilizes sophisticated algorithms to remove less important words from the text. Words are not removed sequentially; instead, the algorithm diffuses introduced errors across the text, preventing them from clustering in the same block and maintaining the text's overall integrity.
RemoveLines = 2
Removes entire lines from the text at random positions. This strategy is useful for reducing content while maintaining structural integrity.
SummarizeText = 3
Generates a summarized version of the text, preserving key information and overall meaning. This method leverages summarization algorithms to maintain content relevance.
TrimTop = 4
Trims content from the beginning (top) of the text. Useful for removing introductory sections or irrelevant starting information.
TrimBottom = 5
Trims content from the end (bottom) of the text. Ideal for eliminating concluding remarks or extraneous final sections.