A single named entity span.
Fields
text— the span's surface text, exactly as it appeared in the input.type— the entity category. Atoms drawn from the model's label set; the default model uses:per,:org,:loc, or:misc.start,end— byte offsets of the span within the input.score— the model's confidence in[0.0, 1.0].
Summary
Types
@type t() :: %Text.NER.Entity{ end: non_neg_integer(), score: float(), start: non_neg_integer(), text: String.t(), type: atom() }