Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class PlainTextDictionary

    Dictionary represented by a text file.

    Format allowed: 1 word per line:

    word1

    word2

    word3

    Inheritance
    System.Object
    PlainTextDictionary
    Implements
    IDictionary
    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.Search.Spell
    Assembly: Lucene.Net.Suggest.dll
    Syntax
    public class PlainTextDictionary : IDictionary

    Constructors

    | Improve this Doc View Source

    PlainTextDictionary(FileInfo)

    Creates a dictionary based on a File.

    NOTE: content is treated as UTF-8

    Declaration
    public PlainTextDictionary(FileInfo file)
    Parameters
    Type Name Description
    System.IO.FileInfo file
    | Improve this Doc View Source

    PlainTextDictionary(Stream)

    Creates a dictionary based on an inputstream.

    NOTE: content is treated as UTF-8

    Declaration
    public PlainTextDictionary(Stream dictFile)
    Parameters
    Type Name Description
    System.IO.Stream dictFile
    | Improve this Doc View Source

    PlainTextDictionary(TextReader)

    Creates a dictionary based on a reader.

    Declaration
    public PlainTextDictionary(TextReader reader)
    Parameters
    Type Name Description
    System.IO.TextReader reader

    Methods

    | Improve this Doc View Source

    GetEntryEnumerator()

    Declaration
    public virtual IInputEnumerator GetEntryEnumerator()
    Returns
    Type Description
    IInputEnumerator

    Implements

    IDictionary
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.