Class StemmerOverrideFilter.Builder
This builder builds an FST for the StemmerOverrideFilter
Inheritance
System.Object
StemmerOverrideFilter.Builder
Namespace: Lucene.Net.Analysis.Miscellaneous
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class Builder : object
Constructors
| Improve this Doc View SourceBuilder()
Creates a new StemmerOverrideFilter.Builder with Lucene.Net.Analysis.Miscellaneous.StemmerOverrideFilter.Builder.ignoreCase set to false
Declaration
public Builder()
Builder(Boolean)
Creates a new StemmerOverrideFilter.Builder
Declaration
public Builder(bool ignoreCase)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | ignoreCase | if the input case should be ignored. |
Methods
| Improve this Doc View SourceAdd(String, String)
Adds an input string and it's stemmer override output to this builder.
Declaration
public virtual bool Add(string input, string output)
Parameters
Type | Name | Description |
---|---|---|
System.String | input | the input char sequence |
System.String | output | the stemmer override output char sequence |
Returns
Type | Description |
---|---|
System.Boolean |
|
Build()
Returns a StemmerOverrideFilter.StemmerOverrideMap to be used with the StemmerOverrideFilter
Declaration
public virtual StemmerOverrideFilter.StemmerOverrideMap Build()
Returns
Type | Description |
---|---|
StemmerOverrideFilter.StemmerOverrideMap | a StemmerOverrideFilter.StemmerOverrideMap to be used with the StemmerOverrideFilter |