Builder

class Builder

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
var score: Float?

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

Link copied to clipboard
var text: String?

The text of the entity.

Link copied to clipboard

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