C# Class Egothor.Stemmer.Optimizer2

The Optimizer class is a Trie that will be reduced (have empty rows removed).

This is the result of allowing a joining of rows when there is no collision between non-null values in the rows. Information loss, resulting in the stemmer not being able to recognize words (as in Optimizer), is curtailed, allowing the stemmer to recognize words for which the original trie was built. Use of this class allows the stemmer to be self-teaching.

Inheritance: Optimizer
Mostra file Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
Merge ( Cell m, Cell e ) : Cell

Merge the given Cells and return the resulting Cell.

Optimizer2 ( )

Constructor for the Optimizer2 object.

Method Details

Merge() public method

Merge the given Cells and return the resulting Cell.
public Merge ( Cell m, Cell e ) : Cell
m Cell the master
e Cell the existing
return Cell

Optimizer2() public method

Constructor for the Optimizer2 object.
public Optimizer2 ( )