Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class StemmerOverrideFilter.Builder

    This builder builds an 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 Source

    Builder()

    Creates a new StemmerOverrideFilter.Builder with Lucene.Net.Analysis.Miscellaneous.StemmerOverrideFilter.Builder.ignoreCase set to false

    Declaration
    public Builder()
    | Improve this Doc View Source

    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 Source

    Add(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

    false if the input has already been added to this builder otherwise true.

    | Improve this Doc View Source

    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;

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.