Interface IWordDictionary
Represents a dictionary interface for word proofing in the Telerik document framework.
Namespace: Telerik.Windows.Documents.Proofing
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public interface IWordDictionary
Properties
Words
Gets the collection of words from the dictionary.
Declaration
IEnumerable<string> Words { get; }
Property Value
System.Collections.Generic.IEnumerable<System.String>
|
Methods
ContainsWord(String)
Determines whether the specified word exists in the word dictionary.
Declaration
bool ContainsWord(string word)
Parameters
System.String
word
The word to check for existence in the dictionary. |
Returns
System.Boolean
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
string GetMetaphoneKey(string word)
Parameters
System.String
word
The word for which to obtain the metaphone key. |
Returns
System.String
Returns the metaphone key as a string. |
GetWordsByMetaphoneKey(String)
Retrieves a collection of words that match the specified Metaphone key.
Declaration
IEnumerable<string> GetWordsByMetaphoneKey(string word)
Parameters
System.String
word
The Metaphone key used to filter the words. |
Returns
System.Collections.Generic.IEnumerable<System.String>
A collection of words that correspond to the given Metaphone key. |