C# Class Lucene.Net.Analysis.Miscellaneous.StemmerOverrideFilter.Builder

This builder builds an FST for the StemmerOverrideFilter
Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

Méthode Description
Add ( string input, string output ) : bool

Adds an input string and it's stemmer override output to this builder.

Build ( ) : StemmerOverrideMap

Returns an StemmerOverrideMap to be used with the StemmerOverrideFilter

Builder ( ) : System.Collections.Generic

Creates a new Builder with ignoreCase set to false

Builder ( bool ignoreCase ) : System.Collections.Generic

Creates a new Builder

Method Details

Add() public méthode

Adds an input string and it's stemmer override output to this builder.
public Add ( string input, string output ) : bool
input string the input char sequence
output string the stemmer override output char sequence
Résultat bool

Build() public méthode

Returns an StemmerOverrideMap to be used with the StemmerOverrideFilter
if an occurs;
public Build ( ) : StemmerOverrideMap
Résultat StemmerOverrideMap

Builder() public méthode

Creates a new Builder with ignoreCase set to false
public Builder ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Builder() public méthode

Creates a new Builder
public Builder ( bool ignoreCase ) : System.Collections.Generic
ignoreCase bool if the input case should be ignored.
Résultat System.Collections.Generic