Console ↗

SpanMatch

Resolve path against the original state. Slice the resulting string from start (inclusive) to end (exclusive) using Unicode code points. text contains that slice and confidence applies to this match.

Declaration

interface SpanMatch { path: string; start: number; end: number; text: string; confidence: number }

Span guide →