SpellingCorrectorOptions class

SpellingCorrectorOptions class

Provides options for the spelling corrector.

Learn more

The SpellingCorrectorOptions type exposes the following members:

Properties

Property Description
consider_transpositions The property indicates whether the spelling correction algorithm treats the transposition of two adjacent characters as a single mistake.
enabled The spelling corrector enabled flag.
max_mistake_count The maximum number of mistakes (default is 2).
only_best_results The property indicates whether only the best results will be returned. The default value is False. True if only the best results will be returned; otherwise False.
only_best_results_range The maximum exceeding of the minimum number of mistakes found.

See Also