Class
RadWordsDictionary

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

Definition

Namespace:Telerik.Windows.Documents.Proofing

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class RadWordsDictionary : IWordDictionary

Inheritance: objectRadWordsDictionary

Implements: IWordDictionary

Constructors

RadWordsDictionary()

Initializes a new instance of the RadWordsDictionary class.

Declaration

cs-api-definition
public RadWordsDictionary()

Properties

Words

Gets the words.

Declaration

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

Property Value

IEnumerable<string>

The words.

Implements IWordDictionary.Words

Methods

ContainsWord(string)

Determines whether the specified word is contained in the dictionary.

Declaration

cs-api-definition
public bool ContainsWord(string word)

Parameters

word

string

The word.

Returns

bool

Implements IWordDictionary.ContainsWord(string)

GetMetaphoneKey(string)

Gets the metaphone key.

Declaration

cs-api-definition
public string GetMetaphoneKey(string word)

Parameters

word

string

The word.

Returns

string

Implements IWordDictionary.GetMetaphoneKey(string)

GetWordsByMetaphoneKey(string)

Gets the words by metaphone key.

Declaration

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

Parameters

word

string

The word.

Returns

IEnumerable<string>

Implements IWordDictionary.GetWordsByMetaphoneKey(string)

Load(IEnumerable<string>)

Loads the specified words.

Declaration

cs-api-definition
public void Load(IEnumerable<string> words)

Parameters

words

IEnumerable<string>

The words.

Load(Stream)

Loads the specified stream.

Declaration

cs-api-definition
public void Load(Stream stream)

Parameters

stream

Stream

The stream.