public static interface Entity.Builder extends SdkPojo, CopyableBuilder<Entity.Builder,Entity>
Modifier and Type | Method and Description |
---|---|
Entity.Builder |
beginOffset(Integer beginOffset)
A character offset in the input text that shows where the entity begins (the first character is at position
0).
|
Entity.Builder |
endOffset(Integer endOffset)
A character offset in the input text that shows where the entity ends.
|
Entity.Builder |
score(Float score)
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
|
Entity.Builder |
text(String text)
The text of the entity.
|
Entity.Builder |
type(EntityType type)
The entity's type.
|
Entity.Builder |
type(String type)
The entity's type.
|
copy
applyMutation, build
Entity.Builder score(Float score)
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
score
- The level of confidence that Amazon Comprehend has in the accuracy of the detection.Entity.Builder type(String type)
The entity's type.
type
- The entity's type.EntityType
,
EntityType
Entity.Builder type(EntityType type)
The entity's type.
type
- The entity's type.EntityType
,
EntityType
Entity.Builder text(String text)
The text of the entity.
text
- The text of the entity.Entity.Builder beginOffset(Integer beginOffset)
A character offset in the input text that shows where the entity begins (the first character is at position 0). The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.
beginOffset
- A character offset in the input text that shows where the entity begins (the first character is at
position 0). The offset returns the position of each UTF-8 code point in the string. A code
point is the abstract character from a particular graphical representation. For example, a
multi-byte UTF-8 character maps to a single code point.Entity.Builder endOffset(Integer endOffset)
A character offset in the input text that shows where the entity ends. The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.
endOffset
- A character offset in the input text that shows where the entity ends. The offset returns the position
of each UTF-8 code point in the string. A code point is the abstract character from a
particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code
point.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.