Class SpellCheckerBase
SpellChecker base helps to find erroneous spelling in a word and provides suggestions for it.
Inheritance
System.Object
SpellCheckerBase
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Syncfusion.SpellChecker.Base.dll
Syntax
public class SpellCheckerBase
Constructors
SpellCheckerBase()
Initializes the instance of SpellChecker base.
Declaration
public SpellCheckerBase()
SpellCheckerBase(Stream)
Initializes the instance of SpellChecker base.
Declaration
public SpellCheckerBase(Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Properties
GlobalDictionaries
Declaration
public static DictionaryCollection GlobalDictionaries { get; }
Property Value
IgnoreAlphaNumericWords
Gets or Sets the boolean value to check AlphaNumericWords
Declaration
public bool IgnoreAlphaNumericWords { get; set; }
Property Value
IgnoreEmailAddress
Gets or Sets the boolean value to check Email addresses
Declaration
public bool IgnoreEmailAddress { get; set; }
Property Value
IgnoreFileNames
Gets or Sets the boolean value to check file names
Declaration
public bool IgnoreFileNames { get; set; }
Property Value
Gets or Sets the boolean value to check html tags
Declaration
public bool IgnoreHtmlTags { get; set; }
Property Value
IgnoreMixedCaseWords
Gets or Sets the boolean value to check mixed case words
Declaration
public bool IgnoreMixedCaseWords { get; set; }
Property Value
IgnoreUpperCaseWords
Gets or Sets the boolean value to check upper case words
Declaration
public bool IgnoreUpperCaseWords { get; set; }
Property Value
IgnoreUrl
Gets or Sets the boolean value to check urls
Declaration
public bool IgnoreUrl { get; set; }
Property Value
Methods
AddWordsInDictionaryStream(Stream)
Adds the word from custom stream to dicitionary collection
Declaration
public bool AddWordsInDictionaryStream(Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
AddWordToDictionary(String)
Adds the word to dictionary word collection
Declaration
public bool AddWordToDictionary(string word)
Parameters
Type |
Name |
Description |
System.String |
word |
|
Returns
GetAnagrams(String)
Returns the anagrams for error word
Declaration
public List<string> GetAnagrams(string word)
Parameters
Type |
Name |
Description |
System.String |
word |
|
Returns
Type |
System.Collections.Generic.List<System.String> |
GetPhoneticWords(String)
Returns the phonetic suggestions for error word in medium accuracy.
Declaration
public List<string> GetPhoneticWords(string word)
Parameters
Type |
Name |
Description |
System.String |
word |
|
Returns
Type |
System.Collections.Generic.List<System.String> |
GetPhoneticWords(String, AccuracyLevels)
Returns the phonetic suggestions for error word in specified accuracy.
Declaration
public List<string> GetPhoneticWords(string word, AccuracyLevels accuracy)
Parameters
Returns
Type |
System.Collections.Generic.List<System.String> |
GetSuggestions(String)
Returns the suggestions for error word
Declaration
public Dictionary<string, List<string>> GetSuggestions(string word)
Parameters
Type |
Name |
Description |
System.String |
word |
|
Returns
Type |
System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<System.String>> |
HasError(String)
Checks whether the word exists in dictionary
Declaration
public bool HasError(string word)
Parameters
Type |
Name |
Description |
System.String |
word |
|
Returns
IsPatternMatch(String)
Returns whether the word matches Email or File name or URL pattern.
Declaration
public bool IsPatternMatch(string word)
Parameters
Type |
Name |
Description |
System.String |
word |
|
Returns