Show / Hide Table of Contents

    Class Reduce

    The Reduce object is used to remove gaps in a Trie which stores a dictionary.

    Inheritance
    System.Object
    Reduce
    Gener
    Lift
    Optimizer
    Namespace: Egothor.Stemmer
    Assembly: Lucene.Net.Analysis.Stempel.dll
    Syntax
    public class Reduce : object

    Constructors

    | Improve this Doc View Source

    Reduce()

    Constructor for the Reduce object.

    Declaration
    public Reduce()

    Methods

    | Improve this Doc View Source

    Optimize(Trie)

    Optimize (remove holes in the rows) the given Trie and return the restructured Trie.

    Declaration
    public virtual Trie Optimize(Trie orig)
    Parameters
    Type Name Description
    Trie orig

    the Trie to optimize

    Returns
    Type Description
    Trie

    the restructured Trie

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