AutoMovie API
    Preparing search index...

    Interface IAutoMovieCaptionGraphemeSegmentationIdentity

    Complete execution identity of one caption grapheme segmenter.

    Locale-sensitive runtimes retain both the requested locale and the locale they actually resolved. An implementation may claim locale neutrality only when locale is not an input to its segmentation behavior.

    interface IAutoMovieCaptionGraphemeSegmentationIdentity {
        algorithm: string;
        granularity: "grapheme";
        locale:
            | { kind: "requested-resolved"; requested: string; resolved: string }
            | { kind: "locale-neutral" };
        version: string;
    }
    Index
    algorithm: string

    Non-blank algorithm identity; render compares it with the supplied runtime identity.

    granularity: "grapheme"

    Grapheme-cluster granularity used to measure caption text.

    locale:
        | { kind: "requested-resolved"; requested: string; resolved: string }
        | { kind: "locale-neutral" }

    Locale participation in the actual segmentation execution.

    Type Declaration

    • { kind: "requested-resolved"; requested: string; resolved: string }
      • kind: "requested-resolved"

        The runtime resolves a requested locale before segmenting.

      • requested: string

        Non-blank locale passed to the runtime.

      • resolved: string

        Non-blank locale reported by the runtime after resolution.

    • { kind: "locale-neutral" }
      • kind: "locale-neutral"

        The algorithm does not consume or resolve locale state.

    version: string

    Exact algorithm or segmentation-data revision.