@Generated(value="software.amazon.awssdk:codegen") public final class CallAnalyticsItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CallAnalyticsItem.Builder,CallAnalyticsItem>
A word, phrase, or punctuation mark in your Call Analytics transcription output, along with various associated attributes, such as confidence score, type, and start and end times.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CallAnalyticsItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
Long |
beginOffsetMillis()
The time, in milliseconds, from the beginning of the audio stream to the start of the identified item.
|
static CallAnalyticsItem.Builder |
builder() |
Double |
confidence()
The confidence score associated with a word or phrase in your transcript.
|
String |
content()
The word or punctuation that was transcribed.
|
Long |
endOffsetMillis()
The time, in milliseconds, from the beginning of the audio stream to the end of the identified item.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CallAnalyticsItem.Builder> |
serializableBuilderClass() |
Boolean |
stable()
If partial result stabilization is enabled,
Stable indicates whether the specified item is stable (
true) or if it may change when the segment is complete (false). |
CallAnalyticsItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ItemType |
type()
The type of item identified.
|
String |
typeAsString()
The type of item identified.
|
Boolean |
vocabularyFilterMatch()
Indicates whether the specified item matches a word in the vocabulary filter included in your Call Analytics
request.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long beginOffsetMillis()
The time, in milliseconds, from the beginning of the audio stream to the start of the identified item.
public final Long endOffsetMillis()
The time, in milliseconds, from the beginning of the audio stream to the end of the identified item.
public final ItemType type()
The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.
If the service returns an enum value that is not available in the current SDK version, type will return
ItemType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
PRONUNCIATION (spoken words) and
PUNCTUATION.ItemTypepublic final String typeAsString()
The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.
If the service returns an enum value that is not available in the current SDK version, type will return
ItemType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
PRONUNCIATION (spoken words) and
PUNCTUATION.ItemTypepublic final String content()
The word or punctuation that was transcribed.
public final Double confidence()
The confidence score associated with a word or phrase in your transcript.
Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified item correctly matches the item spoken in your media.
Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified item correctly matches the item spoken in your media.
public final Boolean vocabularyFilterMatch()
Indicates whether the specified item matches a word in the vocabulary filter included in your Call Analytics
request. If true, there is a vocabulary filter match.
true, there is a vocabulary filter match.public final Boolean stable()
If partial result stabilization is enabled, Stable indicates whether the specified item is stable (
true) or if it may change when the segment is complete (false).
Stable indicates whether the specified item is
stable (true) or if it may change when the segment is complete (false).public CallAnalyticsItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CallAnalyticsItem.Builder,CallAnalyticsItem>public static CallAnalyticsItem.Builder builder()
public static Class<? extends CallAnalyticsItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.