@Generated(value="software.amazon.awssdk:codegen") public final class KeyPhrase extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KeyPhrase.Builder,KeyPhrase>
Describes a key noun phrase.
| Modifier and Type | Class and Description |
|---|---|
static interface |
KeyPhrase.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
beginOffset()
The zero-based offset from the beginning of the source text to the first character in the key phrase.
|
static KeyPhrase.Builder |
builder() |
Integer |
endOffset()
The zero-based offset from the beginning of the source text to the last character in the key phrase.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Float |
score()
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends KeyPhrase.Builder> |
serializableBuilderClass() |
String |
text()
The text of a key noun phrase.
|
KeyPhrase.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Float score()
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
public final String text()
The text of a key noun phrase.
public final Integer beginOffset()
The zero-based offset from the beginning of the source text to the first character in the key phrase.
public final Integer endOffset()
The zero-based offset from the beginning of the source text to the last character in the key phrase.
public KeyPhrase.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<KeyPhrase.Builder,KeyPhrase>public static KeyPhrase.Builder builder()
public static Class<? extends KeyPhrase.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.