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.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Proofing
Assembly: Telerik.Windows.Documents.dll
Syntax
public class RadWordsDictionary : IWordDictionary
Constructors
RadWordsDictionary()
Properties
Words
Gets the words.
Declaration
public IEnumerable<string> Words { get; }
Property Value
System.Collections.Generic.IEnumerable<System.String>
The words. |
Implements
Methods
ContainsWord(String)
Determines whether the specified word is contained in the dictionary.
Declaration
public bool ContainsWord(string word)
Parameters
System.String
word
The word. |
Returns
System.Boolean
|
Implements
GetMetaphoneKey(String)
Gets the metaphone key.
Declaration
public string GetMetaphoneKey(string word)
Parameters
System.String
word
The word. |
Returns
System.String
|
Implements
GetWordsByMetaphoneKey(String)
Gets the words by metaphone key.
Declaration
public IEnumerable<string> GetWordsByMetaphoneKey(string word)
Parameters
System.String
word
The word. |
Returns
System.Collections.Generic.IEnumerable<System.String>
|
Implements
Load(IEnumerable<String>)
Loads the specified words.
Declaration
public void Load(IEnumerable<string> words)
Parameters
System.Collections.Generic.IEnumerable<System.String>
words
The words. |
Load(Stream)
Loads the specified stream.
Declaration
public void Load(Stream stream)
Parameters
System.IO.Stream
stream
The stream. |