Class Entity
- Namespace
- AiDotNet.Postprocessing.Document
- Assembly
- AiDotNet.dll
Represents an extracted entity from document text.
public class Entity
- Inheritance
-
Entity
- Inherited Members
Properties
Attributes
Additional attributes for the entity.
public Dictionary<string, object> Attributes { get; set; }
Property Value
CanonicalName
Canonical name for the entity.
public string? CanonicalName { get; set; }
Property Value
Confidence
Confidence score for the extraction.
public double Confidence { get; set; }
Property Value
EndIndex
End index in the original text.
public int EndIndex { get; set; }
Property Value
LinkedEntity
Linked entity from knowledge base.
public Entity? LinkedEntity { get; set; }
Property Value
NormalizedValue
Normalized value (for dates, money, etc.).
public string? NormalizedValue { get; set; }
Property Value
StartIndex
Start index in the original text.
public int StartIndex { get; set; }
Property Value
Text
The original text of the entity.
public string Text { get; set; }
Property Value
Type
The type of entity.
public EntityType Type { get; set; }