public static interface KeyPhrase.Builder extends SdkPojo, CopyableBuilder<KeyPhrase.Builder,KeyPhrase>
Modifier and Type | Method and Description |
---|---|
KeyPhrase.Builder |
beginOffset(Integer beginOffset)
A character offset in the input text that shows where the key phrase begins (the first character is at
position 0).
|
KeyPhrase.Builder |
endOffset(Integer endOffset)
A character offset in the input text where the key phrase ends.
|
KeyPhrase.Builder |
score(Float score)
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
|
KeyPhrase.Builder |
text(String text)
The text of a key noun phrase.
|
copy
applyMutation, build
KeyPhrase.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.KeyPhrase.Builder text(String text)
The text of a key noun phrase.
text
- The text of a key noun phrase.KeyPhrase.Builder beginOffset(Integer beginOffset)
A character offset in the input text that shows where the key phrase 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 key phrase 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.KeyPhrase.Builder endOffset(Integer endOffset)
A character offset in the input text where the key phrase 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 where the key phrase 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.