# `Text.NER.Entity`
[🔗](https://github.com/kipcole9/text/blob/v0.5.0/lib/ner.ex#L60)

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]`.

# `t`

```elixir
@type t() :: %Text.NER.Entity{
  end: non_neg_integer(),
  score: float(),
  start: non_neg_integer(),
  text: String.t(),
  type: atom()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
