public static interface TranscriptFilter.Builder extends SdkPojo, CopyableBuilder<TranscriptFilter.Builder,TranscriptFilter>
| Modifier and Type | Method and Description |
|---|---|
TranscriptFilter.Builder |
absoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search
for the specified key words or phrases.
|
default TranscriptFilter.Builder |
absoluteTimeRange(Consumer<AbsoluteTimeRange.Builder> absoluteTimeRange)
Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search
for the specified key words or phrases.
|
TranscriptFilter.Builder |
negate(Boolean negate)
Set to
TRUE to flag the absence of the phrase that you specified in your request. |
TranscriptFilter.Builder |
participantRole(ParticipantRole participantRole)
Specify the participant that you want to flag.
|
TranscriptFilter.Builder |
participantRole(String participantRole)
Specify the participant that you want to flag.
|
default TranscriptFilter.Builder |
relativeTimeRange(Consumer<RelativeTimeRange.Builder> relativeTimeRange)
Makes it possible to specify a time range (in percentage) in your media file, during which you want to search
for the specified key words or phrases.
|
TranscriptFilter.Builder |
relativeTimeRange(RelativeTimeRange relativeTimeRange)
Makes it possible to specify a time range (in percentage) in your media file, during which you want to search
for the specified key words or phrases.
|
TranscriptFilter.Builder |
targets(Collection<String> targets)
Specify the phrases that you want to flag.
|
TranscriptFilter.Builder |
targets(String... targets)
Specify the phrases that you want to flag.
|
TranscriptFilter.Builder |
transcriptFilterType(String transcriptFilterType)
Flag the presence or absence of an exact match to the phrases that you specify.
|
TranscriptFilter.Builder |
transcriptFilterType(TranscriptFilterType transcriptFilterType)
Flag the presence or absence of an exact match to the phrases that you specify.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTranscriptFilter.Builder transcriptFilterType(String transcriptFilterType)
Flag the presence or absence of an exact match to the phrases that you specify. For example, if you specify
the phrase "speak to a manager" as your Targets value, only that exact phrase is flagged.
Note that semantic matching is not supported. For example, if your customer says "speak to the manager", instead of "speak to a manager", your content is not flagged.
transcriptFilterType - Flag the presence or absence of an exact match to the phrases that you specify. For example, if you
specify the phrase "speak to a manager" as your Targets value, only that exact phrase is
flagged.
Note that semantic matching is not supported. For example, if your customer says "speak to the manager", instead of "speak to a manager", your content is not flagged.
TranscriptFilterType,
TranscriptFilterTypeTranscriptFilter.Builder transcriptFilterType(TranscriptFilterType transcriptFilterType)
Flag the presence or absence of an exact match to the phrases that you specify. For example, if you specify
the phrase "speak to a manager" as your Targets value, only that exact phrase is flagged.
Note that semantic matching is not supported. For example, if your customer says "speak to the manager", instead of "speak to a manager", your content is not flagged.
transcriptFilterType - Flag the presence or absence of an exact match to the phrases that you specify. For example, if you
specify the phrase "speak to a manager" as your Targets value, only that exact phrase is
flagged.
Note that semantic matching is not supported. For example, if your customer says "speak to the manager", instead of "speak to a manager", your content is not flagged.
TranscriptFilterType,
TranscriptFilterTypeTranscriptFilter.Builder absoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for the specified key words or phrases. See for more detail.
absoluteTimeRange - Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to
search for the specified key words or phrases. See for more detail.default TranscriptFilter.Builder absoluteTimeRange(Consumer<AbsoluteTimeRange.Builder> absoluteTimeRange)
Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for the specified key words or phrases. See for more detail.
This is a convenience method that creates an instance of theAbsoluteTimeRange.Builder avoiding the
need to create one manually via AbsoluteTimeRange.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to absoluteTimeRange(AbsoluteTimeRange).
absoluteTimeRange - a consumer that will call methods on AbsoluteTimeRange.BuilderabsoluteTimeRange(AbsoluteTimeRange)TranscriptFilter.Builder relativeTimeRange(RelativeTimeRange relativeTimeRange)
Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for the specified key words or phrases. See for more detail.
relativeTimeRange - Makes it possible to specify a time range (in percentage) in your media file, during which you want to
search for the specified key words or phrases. See for more detail.default TranscriptFilter.Builder relativeTimeRange(Consumer<RelativeTimeRange.Builder> relativeTimeRange)
Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for the specified key words or phrases. See for more detail.
This is a convenience method that creates an instance of theRelativeTimeRange.Builder avoiding the
need to create one manually via RelativeTimeRange.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to relativeTimeRange(RelativeTimeRange).
relativeTimeRange - a consumer that will call methods on RelativeTimeRange.BuilderrelativeTimeRange(RelativeTimeRange)TranscriptFilter.Builder participantRole(String participantRole)
Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying both participants.
participantRole - Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying
both participants.ParticipantRole,
ParticipantRoleTranscriptFilter.Builder participantRole(ParticipantRole participantRole)
Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying both participants.
participantRole - Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying
both participants.ParticipantRole,
ParticipantRoleTranscriptFilter.Builder negate(Boolean negate)
Set to TRUE to flag the absence of the phrase that you specified in your request. Set to
FALSE to flag the presence of the phrase that you specified in your request.
negate - Set to TRUE to flag the absence of the phrase that you specified in your request. Set to
FALSE to flag the presence of the phrase that you specified in your request.TranscriptFilter.Builder targets(Collection<String> targets)
Specify the phrases that you want to flag.
targets - Specify the phrases that you want to flag.TranscriptFilter.Builder targets(String... targets)
Specify the phrases that you want to flag.
targets - Specify the phrases that you want to flag.Copyright © 2023. All rights reserved.