Table of Contents

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

Dictionary<string, object>

CanonicalName

Canonical name for the entity.

public string? CanonicalName { get; set; }

Property Value

string

Confidence

Confidence score for the extraction.

public double Confidence { get; set; }

Property Value

double

EndIndex

End index in the original text.

public int EndIndex { get; set; }

Property Value

int

LinkedEntity

Linked entity from knowledge base.

public Entity? LinkedEntity { get; set; }

Property Value

Entity

NormalizedValue

Normalized value (for dates, money, etc.).

public string? NormalizedValue { get; set; }

Property Value

string

StartIndex

Start index in the original text.

public int StartIndex { get; set; }

Property Value

int

Text

The original text of the entity.

public string Text { get; set; }

Property Value

string

Type

The type of entity.

public EntityType Type { get; set; }

Property Value

EntityType