Entity

class Entity

Provides information about an extracted medical entity.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The extracted attributes that relate to this entity.

Link copied to clipboard

The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.

Link copied to clipboard

The category of the entity.

Link copied to clipboard

The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.

Link copied to clipboard
val id: Int?

The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.

Link copied to clipboard
val score: Float?

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

Link copied to clipboard
val text: String?

The segment of input text extracted as this entity.

Link copied to clipboard

Contextual information for the entity.

Link copied to clipboard

Describes the specific type of entity with category of entities.

Functions

Link copied to clipboard
inline fun copy(block: Entity.Builder.() -> Unit = {}): Entity
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String