docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SequenceNormalizer

    Applies multiple INormalizer.

    Inheritance
    object
    SequenceNormalizer
    Implements
    INormalizer
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.InferenceEngine.Tokenization.Normalizers
    Assembly: Unity.InferenceEngine.Tokenization.dll
    Syntax
    public class SequenceNormalizer : INormalizer

    Constructors

    SequenceNormalizer(params INormalizer[])

    Initializes a new instance of the SequenceNormalizer type.

    Declaration
    public SequenceNormalizer(params INormalizer[] normalizers)
    Parameters
    Type Name Description
    INormalizer[] normalizers

    The INormalizer instances to apply in sequence.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown when any of the normalizers is null.

    Methods

    Normalize(SubString)

    Applies transformations to the input string before pre-tokenization.

    Declaration
    public SubString Normalize(SubString input)
    Parameters
    Type Name Description
    SubString input

    The string to transform.

    Returns
    Type Description
    SubString

    The resulting string.

    Implements

    INormalizer
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)