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
      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: Egothor.Stemmer
Assembly: Lucene.Net.Analysis.Stempel.dll
Syntax
public class Gener : Reduce
  Constructors
| Improve this Doc View SourceGener()
Constructor for the Gener object.
Declaration
public Gener()
  Methods
| Improve this Doc View SourceEat(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 | 
  | 
      
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  |