Documentation - v1.2.0-alpha.3
    Preparing search index...

    Represents the result of a model recognition process.

    interface ModelResult<T extends Record<string, any> = {}> {
        end: number;
        resolution: T;
        start: number;
        text: string;
        typeName: string;
    }

    Type Parameters

    • T extends Record<string, any> = {}

      The type of the resolution containing additional details about the match.

    Index

    Properties

    end: number

    The end index of the match in the input text.

    resolution: T

    The resolution containing additional details about the match.

    start: number

    The start index of the match in the input text.

    text: string

    The text that was matched.

    typeName: string

    The type of the recognized model result.