Class Dictionary
In-memory structure for the dictionary (.dic) and affix (.aff) data of a hunspell dictionary.
Inheritance
Inherited Members
Namespace: Lucene.Net.Analysis.Hunspell
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class Dictionary
Constructors
| Improve this Doc View SourceDictionary(Stream, IList<Stream>, Boolean)
Creates a new Dictionary containing the information read from the provided System.
Declaration
public Dictionary(Stream affix, IList<Stream> dictionaries, bool ignoreCase)
Parameters
Type | Name | Description |
---|---|---|
System. |
affix | System. |
System. |
dictionaries | System. |
System. |
ignoreCase | ignore case? |
Exceptions
Type | Condition |
---|---|
System. |
Can be thrown while reading from the System. |
System. |
Can be thrown if the content of the files does not meet expected formats |
Dictionary(Stream, Stream)
Creates a new Dictionary containing the information read from the provided System.
Declaration
public Dictionary(Stream affix, Stream dictionary)
Parameters
Type | Name | Description |
---|---|---|
System. |
affix | System. |
System. |
dictionary | System. |
Exceptions
Type | Condition |
---|---|
System. |
Can be thrown while reading from the System. |
System. |
Can be thrown if the content of the files does not meet expected formats |