SpellingCorrectorOptions

SpellingCorrectorOptions class

Provides options for the spelling corrector.

public class SpellingCorrectorOptions

Properties

Name Description
ConsiderTranspositions { get; set; } Gets or sets a value indicating whether the algorithm must consider transposition of two adjacent characters as a single mistake. The default value is true.
Enabled { get; set; } Gets or sets a value indicating whether the spelling corrector is enabled. The default value is false.
MaxMistakeCount { get; set; } Gets or sets the maximum number of mistakes. The default value is 2.
OnlyBestResults { get; set; } Gets or sets a value indicating whether only the best results will be returned. The default value is false.
OnlyBestResultsRange { get; set; } Gets or sets the maximum exceeding of the minimum number of mistakes that are found. The default value is 0.

Remarks

Learn more

See Also