Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Dictionary

    In-memory structure for the dictionary (.dic) and affix (.aff) data of a hunspell dictionary.

    Inheritance
    System.Object
    Dictionary
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Analysis.Hunspell
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public class Dictionary

    Constructors

    | Improve this Doc View Source

    Dictionary(Stream, IList<Stream>, Boolean)

    Creates a new Dictionary containing the information read from the provided System.IO.Streams to hunspell affix and dictionary files. You have to dispose the provided System.IO.Streams yourself.

    Declaration
    public Dictionary(Stream affix, IList<Stream> dictionaries, bool ignoreCase)
    Parameters
    Type Name Description
    System.IO.Stream affix

    System.IO.Stream for reading the hunspell affix file (won't be disposed).

    System.Collections.Generic.IList<System.IO.Stream> dictionaries

    System.IO.Stream for reading the hunspell dictionary files (won't be disposed).

    System.Boolean ignoreCase

    ignore case?

    Exceptions
    Type Condition
    System.IO.IOException

    Can be thrown while reading from the System.IO.Streams

    System.Exception

    Can be thrown if the content of the files does not meet expected formats

    | Improve this Doc View Source

    Dictionary(Stream, Stream)

    Creates a new Dictionary containing the information read from the provided System.IO.Streams to hunspell affix and dictionary files. You have to dispose the provided System.IO.Streams yourself.

    Declaration
    public Dictionary(Stream affix, Stream dictionary)
    Parameters
    Type Name Description
    System.IO.Stream affix

    System.IO.Stream for reading the hunspell affix file (won't be disposed).

    System.IO.Stream dictionary

    System.IO.Stream for reading the hunspell dictionary file (won't be disposed).

    Exceptions
    Type Condition
    System.IO.IOException

    Can be thrown while reading from the System.IO.Streams

    System.Exception

    Can be thrown if the content of the files does not meet expected formats

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.