SpellingCorrector
Leave feedback
On this page
Represents a spelling corrector for terms in a query.
public class SpellingCorrector : DictionaryBase
| Name | Description |
|---|---|
| Count { get; } | Gets the number of words contained in this SpellingCorrector. |
| override DictionaryType { get; } | Gets the dictionary type. |
| 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. |
A word of the spelling corrector has from 1 to 80 characters and does not contain the characters U+0000, U+0001, tab, carriage return or line feed. Other words are not added to the spelling corrector, and the ErrorOccurred event of the index reports their number. A word of a search query that has more than 80 characters is not corrected.
Learn more
- class DictionaryBase
- namespace GroupDocs.Search.Dictionaries
- assembly GroupDocs.Search
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.