Class StemmerOverrideFilter.Builder
This builder builds an Lucene.Net.Util.Fst.FST for the StemmerOverrideFilter
Inheritance
System.Object
StemmerOverrideFilter.Builder
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: Lucene.Net.Analysis.Miscellaneous
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class Builder
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 |
Exceptions
Type | Condition |
---|---|
System.IO.IOException | if an System.IO.IOException occurs; |