LangExtract.Alignment.Span (LangExtract v0.5.0)

Copy Markdown View Source

An aligned extraction with its byte position in the source text.

Summary

Types

status()

@type status() :: :exact | :fuzzy | :not_found

t()

@type t() :: %LangExtract.Alignment.Span{
  attributes: map(),
  byte_end: non_neg_integer() | nil,
  byte_start: non_neg_integer() | nil,
  class: String.t() | nil,
  status: status(),
  text: String.t()
}