Class Gener
The Gener object helps in the discarding of nodes which break the reduction effort and defend the structure against large reductions.
Inherited Members
Namespace: Egothor.Stemmer
Assembly: Lucene.Net.Analysis.Stempel.dll
Syntax
public class Gener : Reduce
Constructors
Gener()
Constructor for the Gener object.
Declaration
public Gener()
Methods
Eat(Row, int[])
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 |
int[] | remap | Description of the Parameter |
Returns
Type | Description |
---|---|
bool |
|
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 |