SpellingCorrector class

SpellingCorrector class

Represents a spelling corrector for terms in a query.

Learn more

The SpellingCorrector type exposes the following members:

Methods

Method Description
add_range Adds the specified collection of words to this SpellingCorrector instance.
add_range Adds the specified collection of words to this SpellingCorrector instance.
clear Removes all words from a SpellingCorrector object.
get_words Retrieves the collection of words currently contained in this SpellingCorrector.
export_dictionary Exports the dictionary to a file with the specified name. (inherited from DictionaryBase)
import_dictionary Imports a dictionary from the specified file. (inherited from DictionaryBase)

Properties

Property Description
count The number of words contained in this SpellingCorrector.
dictionary_type The dictionary type.

See Also