Show / Hide Table of Contents

    Class Gener

    The Gener object helps in the discarding of nodes which break the reduction effort and defend the structure against large reductions.

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

    Constructors

    | Improve this Doc View Source

    Gener()

    Constructor for the Gener object.

    Declaration
    public Gener()

    Methods

    | Improve this Doc View Source

    Eat(Row, Int32[])

    Test whether the given Row of Cells in a Trie should be included in an optimized Trie.

    Declaration
    public bool Eat(Row in, int[] remap)
    Parameters
    Type Name Description
    Row in

    the Row to test

    System.Int32[] remap

    Description of the Parameter

    Returns
    Type Description
    System.Boolean

    true if the Row should remain; otherwise, false

    | Improve this Doc View Source

    Optimize(Trie)

    Return a Trie with infrequent values occurring in the given Trie removed.

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

    the Trie to optimize

    Returns
    Type Description
    Trie

    a new optimized Trie

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