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
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TranscriptFilter
impl Debug for TranscriptFilter
sourceimpl PartialEq<TranscriptFilter> for TranscriptFilter
impl PartialEq<TranscriptFilter> for TranscriptFilter
sourcefn eq(&self, other: &TranscriptFilter) -> bool
fn eq(&self, other: &TranscriptFilter) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for TranscriptFilter
Auto Trait Implementations
impl RefUnwindSafe for TranscriptFilter
impl Send for TranscriptFilter
impl Sync for TranscriptFilter
impl Unpin for TranscriptFilter
impl UnwindSafe for TranscriptFilter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more