Table of Contents

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

CultureInfo

Methods

Ignore(string, bool)

Ignores the word.

void Ignore(string word, bool persistent)

Parameters

word string

The word to ignore.

persistent bool

If true, should be added to dictionary. Otherwise false.

IsCorrect(string)

Checks if the given word is correct.

bool IsCorrect(string word)

Parameters

word string

The 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 string

The base word.

Returns

IEnumerable<string>

An enumeration over possibly right variants.