SpellingCorrector Class
Represents a spelling corrector for terms in a query.
Inheritance Hierarchy

Namespace: GroupDocs.Search.Dictionaries
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 20.8
Syntax
public class SpellingCorrector : DictionaryBase

The SpellingCorrector type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of words contained in this SpellingCorrector.
Protected propertyFilePath
Gets the dictionary file path.
(Inherited from DictionaryBase.)
Methods
  NameDescription
Public methodAddRange(IEnumerableString)
Adds the specified collection of words to this instance of the SpellingCorrector.
Public methodAddRange(String)
Adds the specified collection of words to this instance of the SpellingCorrector.
Public methodClear
Removes all words from a SpellingCorrector object.
Public methodEquals (Inherited from Object.)
Protected methodExport
Exports the internal dictionary to the specified text file.
(Overrides DictionaryBaseExport(String).)
Public methodExportDictionary
Exports the dictionary to a file with the specified name.
(Inherited from DictionaryBase.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGetWords
Gets the collection of words that is currently contained in this SpellingCorrector.
Protected methodImport
Imports a dictionary from the specified text file.
(Overrides DictionaryBaseImport(String).)
Public methodImportDictionary
Imports a dictionary from the specified file.
(Inherited from DictionaryBase.)
Protected methodLoad
Loads the dictionary data from disk.
(Overrides DictionaryBaseLoad.)
Protected methodLoadDefault
Loads the default dictionary data.
(Overrides DictionaryBaseLoadDefault.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodMerge
Merges the specified dictionary into the current dictionary.
(Overrides DictionaryBaseMerge(DictionaryBase).)
Protected methodNotifyChanged
Notifies about the dictionary changed.
(Inherited from DictionaryBase.)
Protected methodSave
Saves the dictionary data to disk.
(Overrides DictionaryBaseSave.)
Public methodToString (Inherited from Object.)
Remarks
See Also