public static interface KeyPhrase.Builder extends SdkPojo, CopyableBuilder<KeyPhrase.Builder,KeyPhrase>
| Modifier and Type | Method and Description |
|---|---|
KeyPhrase.Builder |
beginOffset(Integer beginOffset)
The zero-based offset from the beginning of the source text to the first character in the key phrase.
|
KeyPhrase.Builder |
endOffset(Integer endOffset)
The zero-based offset from the beginning of the source text to the last character in the key phrase.
|
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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildKeyPhrase.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)
The zero-based offset from the beginning of the source text to the first character in the key phrase.
beginOffset - The zero-based offset from the beginning of the source text to the first character in the key phrase.KeyPhrase.Builder endOffset(Integer endOffset)
The zero-based offset from the beginning of the source text to the last character in the key phrase.
endOffset - The zero-based offset from the beginning of the source text to the last character in the key phrase.Copyright © 2023. All rights reserved.