Share via


EntityInfo Class

Definition

Extended information about an entity including $instance data.

public class EntityInfo : ICloneable
type EntityInfo = class
    interface ICloneable
Public Class EntityInfo
Implements ICloneable
Inheritance
EntityInfo
Implements

Remarks

This is surfaced as part of the entity ambiguity events.

Constructors

EntityInfo()

Properties

Coverage

Gets or sets how much 0-1.0 of the original utterance is covered by entity.

End

Gets or sets where entity ends in utterance.

Name

Gets or sets name of entity.

Operation

Gets or sets operation for entity.

Priority

Gets or sets relative priority of entity compared to other entities with 0 being highest priority.

Property

Gets or sets recognized property for entity.

RootEntity

Gets or sets root entity where this entity was found.

Score

Gets or sets score 0-1.0 of entity.

Start

Gets or sets where entity starts in utterance.

Text

Gets or sets original text that led to entity.

Type

Gets or sets type of entity.

Value

Gets or sets value of entity.

WhenRecognized

Gets or sets event counter when entity was recognized.

Methods

Alternative(EntityInfo)

True if entities come from exactly the same text in the utterance.

Clone()

Returns a clone of this EntityInfo.

Covers(EntityInfo)

True if entity text completely includes another entity text.

IsSameEntity(EntityInfo)

True if entities are the same.

Overlaps(EntityInfo)

True if entities share text in utterance.

SharesRoot(EntityInfo)

True if entities share the same root entity.

ToString()

Returns a string that represents the current object.

Applies to