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.
Namespace: Amazon.Comprehend.Model
Assembly: AWSSDK.Comprehend.dll
Version: 3.x.y.z
public class Entity
The Entity type exposes the following members
Name | Description | |
---|---|---|
Entity() |
Name | Type | Description | |
---|---|---|---|
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. |
|
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. |
|
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. |
|
Score | System.Single |
Gets and sets the property Score. The level of confidence that Amazon Comprehend has in the accuracy of the detection. |
|
Text | System.String |
Gets and sets the property Text. The text of the entity. |
|
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. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5