docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RuneSplitPreTokenizer

    Splits the input by the runes.

    Inheritance
    object
    RuneSplitPreTokenizer
    Implements
    IPreTokenizer
    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.PreTokenizers
    Assembly: Unity.InferenceEngine.Tokenization.dll
    Syntax
    public class RuneSplitPreTokenizer : IPreTokenizer

    Constructors

    RuneSplitPreTokenizer(SplitDelimiterBehavior, bool)

    Initializes a new instance of the RuneSplitPreTokenizer type.

    Declaration
    public RuneSplitPreTokenizer(SplitDelimiterBehavior behavior, bool invert = false)
    Parameters
    Type Name Description
    SplitDelimiterBehavior behavior

    What to do with substrings matching a rune.

    bool invert

    Inverts the pattern matching.

    Methods

    PreTokenize(SubString, Output<SubString>)

    Pre-cuts the input into smaller parts.

    Declaration
    public void PreTokenize(SubString input, Output<SubString> output)
    Parameters
    Type Name Description
    SubString input

    The source to pre-cut.

    Output<SubString> output

    Target collection of generated pre-tokenized strings.

    Implements

    IPreTokenizer
    In This Article
    Back to top
    Copyright © 2026 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)