New to Telerik UI for WinForms? Start a free 30-day trial

Supplies the words recognized by a spell checker and optional phonetic lookups used to generate suggestions.

Definition

Namespace:Telerik.WinControls.SpellChecker.Proofing

Assembly:Telerik.WinControls.SpellChecker.dll

Syntax:

C#
public interface IWordDictionary

Properties

Words

IEnumerable<string>

Gets the words currently recognized by this dictionary.

C#
IEnumerable<string> Words { get; }

Methods

Determines whether the dictionary contains the specified spelling.

C#
bool ContainsWord(string word)
Parameters:wordstring

The spelling to look up.

Returns:

bool

true if the word is present; otherwise, false.

Gets the primary Metaphone key used to find phonetic matches for a dictionary word. Implementations without a phonetic index can return an empty string.

C#
string GetMetaphoneKey(string word)
Parameters:wordstring

A spelling contained in the dictionary.

Returns:

string

The word's primary phonetic key, or an empty string when no key is available.

Gets dictionary entries indexed by a primary Metaphone key for suggestion matching.

C#
IEnumerable<string> GetWordsByMetaphoneKey(string word)
Parameters:wordstring

The primary Metaphone key, typically returned by GetMetaphoneKey(string).

Returns:

IEnumerable<string>

The matching dictionary words, or an empty sequence when no matches are available.