Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Entity

Package version

An interface representing Entity.

Hierarchy

  • Entity

Index

Properties

length

length: number

Length (in Unicode characters) for the entity text.

offset

offset: number

Start position (in Unicode characters) for the entity text.

score

score: number

Confidence score between 0 and 1 of the extracted entity.

Optional subtype

subtype: undefined | string

Entity sub type, such as Age/Year/TimeRange etc

text

text: string

Entity text as appears in the request.

type

type: string

Entity type, such as Person/Location/Org/SSN etc

Generated using TypeDoc