@Generated(value="software.amazon.awssdk:codegen") public final class DominantLanguage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DominantLanguage.Builder,DominantLanguage>
Returns the code for the dominant language in the input text and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
Modifier and Type | Class and Description |
---|---|
static interface |
DominantLanguage.Builder |
Modifier and Type | Method and Description |
---|---|
static DominantLanguage.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
languageCode()
The RFC 5646 language code for the dominant language.
|
Float |
score()
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DominantLanguage.Builder> |
serializableBuilderClass() |
DominantLanguage.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String languageCode()
The RFC 5646 language code for the dominant language. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
public Float score()
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
public DominantLanguage.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DominantLanguage.Builder,DominantLanguage>
public static DominantLanguage.Builder builder()
public static Class<? extends DominantLanguage.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.