Interface ISpellCheckService
- Namespace
- AngleSharp.Browser
- Assembly
- AngleSharp.dll
Provides a spell correction service.
public interface ISpellCheckService
- Extension Methods
Properties
Culture
Gets the culture for the spell check service.
CultureInfo Culture { get; }
Property Value
Methods
Ignore(string, bool)
Ignores the word.
void Ignore(string word, bool persistent)
Parameters
word
stringThe word to ignore.
persistent
boolIf true, should be added to dictionary. Otherwise false.
IsCorrect(string)
Checks if the given word is correct.
bool IsCorrect(string word)
Parameters
word
stringThe word to check.
Returns
- bool
True if the word is correctly spelled, otherwise false.
SuggestFor(string)
Suggests correct spellings for the given word.
IEnumerable<string> SuggestFor(string word)
Parameters
word
stringThe base word.
Returns
- IEnumerable<string>
An enumeration over possibly right variants.