AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Provides information about an entity.

Inheritance Hierarchy

System.Object
  Amazon.Comprehend.Model.Entity

Namespace: Amazon.Comprehend.Model
Assembly: AWSSDK.Comprehend.dll
Version: 3.x.y.z

Syntax

C#
public class Entity

The Entity type exposes the following members

Constructors

NameDescription
Public Method Entity()

Properties

NameTypeDescription
Public Property BeginOffset System.Int32

Gets and sets the property BeginOffset.

The zero-based offset from the beginning of the source text to the first character in the entity.

This field is empty for non-text input.

Public Property BlockReferences System.Collections.Generic.List<Amazon.Comprehend.Model.BlockReference>

Gets and sets the property BlockReferences.

A reference to each block for this entity. This field is empty for plain-text input.

Public Property EndOffset System.Int32

Gets and sets the property EndOffset.

The zero-based offset from the beginning of the source text to the last character in the entity.

This field is empty for non-text input.

Public Property Score System.Single

Gets and sets the property Score.

The level of confidence that Amazon Comprehend has in the accuracy of the detection.

Public Property Text System.String

Gets and sets the property Text.

The text of the entity.

Public Property Type Amazon.Comprehend.EntityType

Gets and sets the property Type.

The entity type. For entity detection using the built-in model, this field contains one of the standard entity types listed below.

For custom entity detection, this field contains one of the entity types that you specified when you trained your custom model.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5