Show / Hide Table of Contents

    Class NormalizeCharMap.Builder

    Builds an NormalizeCharMap.

    Call add() until you have added all the mappings, then call build() to get a NormalizeCharMap @lucene.experimental

    Inheritance
    System.Object
    NormalizeCharMap.Builder
    Namespace: Lucene.Net.Analysis.CharFilters
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public class Builder : object

    Methods

    | Improve this Doc View Source

    Add(String, String)

    Records a replacement to be applied to the input stream. Whenever

    singleMatch
    occurs in the input, it will be replaced with

    replacement
    .
    Declaration
    public virtual void Add(string match, string replacement)
    Parameters
    Type Name Description
    System.String match

    input String to be replaced

    System.String replacement

    output String

    | Improve this Doc View Source

    Build()

    Builds the NormalizeCharMap; call this once you are done calling Add(String, String).

    Declaration
    public virtual NormalizeCharMap Build()
    Returns
    Type Description
    NormalizeCharMap
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)