Interface PartOfSpeechTag.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PartOfSpeechTag.Builder,PartOfSpeechTag>,SdkBuilder<PartOfSpeechTag.Builder,PartOfSpeechTag>,SdkPojo
- Enclosing class:
- PartOfSpeechTag
public static interface PartOfSpeechTag.Builder extends SdkPojo, CopyableBuilder<PartOfSpeechTag.Builder,PartOfSpeechTag>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PartOfSpeechTag.Builderscore(Float score)The confidence that Amazon Comprehend has that the part of speech was correctly identified.PartOfSpeechTag.Buildertag(String tag)Identifies the part of speech that the token represents.PartOfSpeechTag.Buildertag(PartOfSpeechTagType tag)Identifies the part of speech that the token represents.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
tag
PartOfSpeechTag.Builder tag(String tag)
Identifies the part of speech that the token represents.
- Parameters:
tag- Identifies the part of speech that the token represents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PartOfSpeechTagType,PartOfSpeechTagType
-
tag
PartOfSpeechTag.Builder tag(PartOfSpeechTagType tag)
Identifies the part of speech that the token represents.
- Parameters:
tag- Identifies the part of speech that the token represents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PartOfSpeechTagType,PartOfSpeechTagType
-
score
PartOfSpeechTag.Builder score(Float score)
The confidence that Amazon Comprehend has that the part of speech was correctly identified.
- Parameters:
score- The confidence that Amazon Comprehend has that the part of speech was correctly identified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-