Table of Contents

Property NeutralSupport

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

NeutralSupport

Gets or sets a value indicating whether the neutral category support is enabled.

public bool NeutralSupport { get; set; }

Property Value

bool

true to enable neutral category support; otherwise, false. The default is false.

Examples

// Enable neutral support
sentimentAnalyzer.NeutralSupport = true;

Remarks

When enabled, the analysis will include a neutral category alongside positive and negative sentiments. This is useful in scenarios where a neutral sentiment classification is necessary.