Struct aws_sdk_transcribe::model::TranscriptFilter
source · [−]#[non_exhaustive]pub struct TranscriptFilter { /* private fields */ }Expand description
Flag the presence or absence of specific words or phrases detected in your Call Analytics transcription output.
Rules using TranscriptFilter are designed to match:
-
Custom words or phrases spoken by the agent, the customer, or both
-
Custom words or phrases not spoken by the agent, the customer, or either
-
Custom words or phrases that occur at a specific time frame
See Rule criteria for examples.
Implementations
sourceimpl TranscriptFilter
impl TranscriptFilter
sourcepub fn transcript_filter_type(&self) -> Option<&TranscriptFilterType>
pub fn transcript_filter_type(&self) -> Option<&TranscriptFilterType>
Flag the presence or absence of an exact match to the phrases 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.
sourcepub fn absolute_time_range(&self) -> Option<&AbsoluteTimeRange>
pub fn absolute_time_range(&self) -> Option<&AbsoluteTimeRange>
Allows you 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.
sourcepub fn relative_time_range(&self) -> Option<&RelativeTimeRange>
pub fn relative_time_range(&self) -> Option<&RelativeTimeRange>
Allows you 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.
sourcepub fn participant_role(&self) -> Option<&ParticipantRole>
pub fn participant_role(&self) -> Option<&ParticipantRole>
Specify the participant you want to flag. Omitting this parameter is equivalent to specifying both participants.
sourceimpl TranscriptFilter
impl TranscriptFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TranscriptFilter.
Trait Implementations
sourceimpl Clone for TranscriptFilter
impl Clone for TranscriptFilter
sourcefn clone(&self) -> TranscriptFilter
fn clone(&self) -> TranscriptFilter
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more