SpellingCorrector

SpellingCorrector class

Represents a spelling corrector for terms in a query.

public class SpellingCorrector : DictionaryBase

Properties

Name Description
Count { get; } Gets the number of words contained in this SpellingCorrector.
override DictionaryType { get; } Gets the dictionary type.

Methods

Name Description
AddRange(IEnumerable<string>) Adds the specified collection of words to this instance of the SpellingCorrector.
AddRange(string[]) Adds the specified collection of words to this instance of the SpellingCorrector.
override Clear() Removes all words from a SpellingCorrector object.
ExportDictionary(string) Exports the dictionary to a file with the specified name.
GetWords() Gets the collection of words that is currently contained in this SpellingCorrector.
ImportDictionary(string) Imports a dictionary from the specified file.

Remarks

Learn more

See Also