Current section
Files
Jump to
Current section
Files
lib/xberg/entity.ex
# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:86e3b491373cb06a224074d5c175e5bf4c341443fbe2e0370128e5b090afde61
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule Xberg.Entity do
@moduledoc "A single named entity detected in the extracted text."
@typedoc "A single named entity detected in the extracted text."
@type t :: %__MODULE__{
category: String.t() | nil,
text: String.t() | nil,
start: non_neg_integer(),
end: non_neg_integer(),
confidence: float() | nil
}
defstruct category: :person,
text: nil,
start: 0,
end: 0,
confidence: nil
end