Class DictionaryExtensions
A collection of extension methods common to all dictionary implementations
[Version(1, 0, 0)]
public static class DictionaryExtensions
- Inheritance
-
DictionaryExtensions
- Inherited Members
Methods
- GetNearestWord(IWordDictionary, Word)
Finds the closest word to the given input string, by edit distance
- GetRandomWord(IWordDictionary)
Gets the random word from the dictionary.
- LoadDictionary(IWordDictionary, Stream)
Load a dictionary from a stream. Expects one word per line.
- LoadDictionary(IWordDictionary, Stream, Func<string, string>)
Load a dictionary from a stream, and providing a transformation function. Expects one word per line.
- LoadDictionary(IWordDictionary, Stream, int, int)
Load a dictionary from a stream, checking a word's length before adding it
- LoadDictionary(IWordDictionary, Stream, string, string)
Load a dictionary from a stream, checking it against exclusion and inclusion regular expressions before adding to the dictionary
- LoadDictionary(IWordDictionary, Stream, string, string, int, int)
Load a dictionary from a stream, checking its length and matching it against exclusion and inclusion regular expressions before adding to the dictionary