NamedEntitySpan
Models & Types · AiDotNet.NER.SpanBased
An entity a span-based NER model found: tokens Start to End inclusive,
of category Label, with the probability the model gave it.
Implements: IEquatable<NamedEntitySpan>
Constructors
| Constructor | Summary |
|---|---|
NamedEntitySpan(int Start, int End, int Label, double Probability) |
An entity a span-based NER model found: tokens Start to End inclusive, of category Label, with the probability the model gave it. |
Properties
| Property | Summary |
|---|---|
double Probability { get; set; } |
The model’s probability of the category for this span. |
int End { get; set; } |
The last token (inclusive). |
int Label { get; set; } |
The entity category (never the non-entity class 0). |
int Start { get; set; } |
The first token. |
Methods
| Method | Summary |
|---|---|
NamedEntitySpan <Clone>$() |
|
bool Equals(NamedEntitySpan other) |
|
bool Equals(object obj) |
|
bool op_Equality(NamedEntitySpan left, NamedEntitySpan right) |
|
bool op_Inequality(NamedEntitySpan left, NamedEntitySpan right) |
|
int GetHashCode() |
|
string ToString() |
|
void Deconstruct(int Start, int End, int Label, double Probability) |