Skip to main content

HunspellDictionary Members

A dictionary for the Hunspell spell checking algorithm.

Constructors

Name Description
HunspellDictionary() Initializes a new instance of the HunspellDictionary class with the default settings.
HunspellDictionary(String, String, CultureInfo) Initializes a new instance of the HunspellDictionary class with the specified settings.

Properties

Name Description
AlphabetChars Gets the alphabetical list of characters for the current dictionary. Inherited from DictionaryBase.
Culture Gets or sets the culture specific settings of the dictionary. Inherited from DictionaryBase.
DictionaryPath Gets or sets the path to the dictionary file. Inherited from DictionaryBase.
GrammarPath Gets or sets the filename of the affix file (.aff) to be loaded.
Loaded Gets whether the dictionary is loaded. Inherited from DictionaryBase.
WordCount Gets the number of word entries contained in the dictionary.

Methods

Name Description
Clear() Clears all dictionary entries and inner structures.
Contains(String) Determines whether a word is in the dictionary.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FindWord(String) Searches for the word in the dictionary.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Load() Loads and initializes the dictionary. Inherited from DictionaryBase.
LoadFromStream(Stream, Stream) Loads the dictionary and grammar rules from the specified streams into the current HunspellDictionary object, and initializes it.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
DictionaryLoaded Occurs when a dictionary is loaded. Inherited from DictionaryBase.
See Also