EntityLinking<T>

Models & Types ยท AiDotNet.Postprocessing.Document

EntityLinking - Entity extraction and linking for document text.

Inheritance: PostprocessorBase<T, string, IList<Entity>> โ†’ EntityLinking<T>

Implements: IDisposable

For Beginners

Documents contain references to people, places, organizations, and other entities. This tool identifies them:

  • Extract named entities (people, places, organizations)
  • Link entities to canonical forms
  • Resolve entity references
  • Build entity relationships

Key features:

  • Named entity recognition
  • Entity disambiguation
  • Reference resolution
  • Relationship extraction

Example usage:

How It Works

EntityLinking identifies named entities in document text and links them to canonical representations or external knowledge bases.

Constructors

Constructor Summary
EntityLinking() Creates a new EntityLinking instance.

Properties

Property Summary
bool SupportsInverse { get; } Entity linking does not support inverse transformation.

Methods

Method Summary
Entity LinkEntity(Entity entity) Links an entity to its canonical form.
IList<Entity> ExtractDates(string text) Extracts dates from text.
IList<Entity> ExtractEmails(string text) Extracts email addresses from text.
IList<Entity> ExtractMoneyAmounts(string text) Extracts money amounts from text.
IList<Entity> ExtractOrganizations(string text) Extracts organization names from text.
IList<Entity> ExtractPersons(string text) Extracts person names from text.
IList<Entity> ExtractPhoneNumbers(string text) Extracts phone numbers from text.
IList<Entity> ExtractUrls(string text) Extracts URLs from text.
void AddAlias(string canonicalName, string alias) Adds an alias for an existing entity.
void Dispose()
void RegisterEntity(Entity entity, IEnumerable<string> aliases) Registers a known entity with optional aliases.