Syncfusion.SpellChecker.Base
Represents a class that stores information about custom words
Extra words can be stored in custom dictionary. Any words added using ‘Add to dictionary’, is also stored in this custom dictionary.
var english = new HunspellDictionary();
english.Culture = new CultureInfo("en-us");
english.DictionaryUri = new Uri("/SpellCheckerDemo;component//english.dic");
english.GrammarUri = new Uri("/SpellCheckerDemo;component//english.aff");
var custom = new CustomDictionary();
custom.Culture = new CultureInfo("en-us");
english.DictionaryUri = new Uri("/Resources/custom.dic");
var dictionaries = new DictionaryCollection();
dictionaries.Add(english);
dictionaries.Add(custom);
spellChecker.Dictionaries = dictionaries;
spellChecker.Culture = new CultureInfo("en-us");
Gets or Sets the dictionary uri of a dictionary.
Gets or Sets the culture of a dictionary.
Represents base class that requires base dictionary file with affix file.
Gets or Sets the grammar uri of a hunspell dictionary.
DictParser generate a list of words by using both .dic and .aff file.
A class that requires base dictionary and affix file. It has algorithm that process file provided and loads words required for dictionary.
var english = new HunspellDictionary();
english.Culture = new CultureInfo("en-us");
english.DictionaryUri = new Uri("/SpellCheckerDemo;component//english.dic");
english.GrammarUri = new Uri("/SpellCheckerDemo;component//english.aff");
var dictionaries = new DictionaryCollection();
dictionaries.Add(english);
spellChecker.Dictionaries = dictionaries;
spellChecker.Culture = new CultureInfo("en-us");
To create rules from Hunspell .aff file
A class that requires base dictionary and affix file. It has algorithm that process file provided and loads words required for dictionary.
var french = new IspellDictionary();
french.Culture = new CultureInfo("fr");
french.DictionaryUri = new Uri("/SpellCheckerDemo;component//french.dic");
french.GrammarUri = new Uri("/SpellCheckerDemo;component//french.xlg");
var dictionaries = new DictionaryCollection();
dictionaries.Add(french);
spellChecker.Dictionaries = dictionaries;
spellChecker.Culture = new CultureInfo("fr");
To create rules from Ispell .aff file
Represents a list of accuracy levels based on which phonetic matching is executed for filtering suggestions
Represents a high level which filters maximum possible suggestions.
Represents a medium level which filters matching suggestions.
Represents a most accurate level which filters accurate suggestions only.
Returns a list of possible combinations for the given character array
Returns a list of phonetic suggestions for the given word in specified accuracy level.
Compares the two objects.
Compares the two String values
Compares the two object values.
Returns reverse String of input String
SpellChecker base helps to find erroneous spelling in a word and provides suggestions for it.
Initializes the instance of SpellChecker base.
Initializes the instance of SpellChecker base.
Adds the word to dictionary word collection
Checks whether the word exists in dictionary
Returns the suggestions for error word
Returns the anagrams for error word
Returns the phonetic suggestions for error word in medium accuracy.
Returns the phonetic suggestions for error word in specified accuracy.
Returns whether the word matches Email or File name or URL pattern.
Adds the word from custom stream to dicitionary collection
To check whether the word is present in dictionart or not.
Returns a boolean value.
Gets or Sets the boolean value to check AlphaNumericWords
Gets or Sets the boolean value to check file names
Gets or Sets the boolean value to check html tags
Gets or Sets the boolean value to check Email addresses
Gets or Sets the boolean value to check mixed case words
Gets or Sets the boolean value to check upper case words
Gets or Sets the boolean value to check urls