Interface
IWordDictionary

Represents a dictionary interface for word proofing in the Telerik document framework.

Definition

Namespace:Telerik.Windows.Documents.Proofing

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public interface IWordDictionary

Properties

Words

Gets the collection of words from the dictionary.

Declaration

cs-api-definition
IEnumerable<string> Words { get; }

Property Value

IEnumerable<string>

Methods

ContainsWord(string)

Determines whether the specified word exists in the word dictionary.

Declaration

cs-api-definition
bool ContainsWord(string word)

Parameters

word

string

The word to check for existence in the dictionary.

Returns

bool

True if the word is found in the dictionary; otherwise, false.

GetMetaphoneKey(string)

Retrieves the metaphone key for the specified word from the dictionary.

Declaration

cs-api-definition
string GetMetaphoneKey(string word)

Parameters

word

string

The word for which to obtain the metaphone key.

Returns

string

Returns the metaphone key as a string.

GetWordsByMetaphoneKey(string)

Retrieves a collection of words that match the specified Metaphone key.

Declaration

cs-api-definition
IEnumerable<string> GetWordsByMetaphoneKey(string word)

Parameters

word

string

The Metaphone key used to filter the words.

Returns

IEnumerable<string>

A collection of words that correspond to the given Metaphone key.