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
    Namespace: Lucene.Net.Search.Spell
    Assembly: Lucene.Net.Suggest.dll
    Syntax
    public class PlainTextDictionary : object, 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
    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
    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
    TextReader reader

    Methods

    | Improve this Doc View Source

    GetEntryIterator()

    Declaration
    public virtual IInputIterator GetEntryIterator()
    Returns
    Type Description
    IInputIterator

    Implements

    IDictionary
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)