New to Telerik UI for WinFormsStart a free 30-day trial

Represents a class which is used to import dictionary files containing only words seprated by new line, or just define custom dictionary using set of words.

Definition

Namespace:Telerik.WinControls.SpellChecker.Proofing

Assembly:Telerik.WinControls.SpellChecker.dll

Syntax:

C#
public class RadWordsDictionary : IWordDictionary

Inheritance: objectRadWordsDictionary

Implements: IWordDictionary

Constructors

Initializes a new instance of the RadWordsDictionary class.

C#
public RadWordsDictionary()

Properties

Words

IEnumerable<string>

Gets the words.

C#
public IEnumerable<string> Words { get; }
Property Value:

The words.

Implements: IWordDictionary.Words

Methods

Determines whether the specified word is contained in the dictionary.

C#
public bool ContainsWord(string word)
Parameters:wordstring

The word.

Returns:

bool

Implements: IWordDictionary.ContainsWord(string)

Gets the metaphone key.

C#
public string GetMetaphoneKey(string word)
Parameters:wordstring

The word.

Returns:

string

Implements: IWordDictionary.GetMetaphoneKey(string)

Gets the words by metaphone key.

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

The word.

Returns:

IEnumerable<string>

Implements: IWordDictionary.GetWordsByMetaphoneKey(string)

Loads the specified words.

C#
public void Load(IEnumerable<string> words)
Parameters:wordsIEnumerable<string>

The words.

Loads the specified stream.

C#
public void Load(Stream stream)
Parameters:streamStream

The stream.