Struct aws_sdk_transcribe::model::CallAnalyticsJobSettings
source · [−]#[non_exhaustive]pub struct CallAnalyticsJobSettings {
pub vocabulary_name: Option<String>,
pub vocabulary_filter_name: Option<String>,
pub vocabulary_filter_method: Option<VocabularyFilterMethod>,
pub language_model_name: Option<String>,
pub content_redaction: Option<ContentRedaction>,
pub language_options: Option<Vec<LanguageCode>>,
pub language_id_settings: Option<HashMap<LanguageCode, LanguageIdSettings>>,
}
Expand description
Provides optional settings for the CallAnalyticsJob
operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.vocabulary_name: Option<String>
The name of a vocabulary to use when processing the call analytics job.
vocabulary_filter_name: Option<String>
The name of the vocabulary filter to use when running a call analytics job. The filter that you specify must have the same language code as the analytics job.
vocabulary_filter_method: Option<VocabularyFilterMethod>
Set to mask to remove filtered text from the transcript and replace it with three asterisks ("***") as placeholder text. Set to remove
to remove filtered text from the transcript without using placeholder text. Set to tag
to mark the word in the transcription output that matches the vocabulary filter. When you set the filter method to tag
, the words matching your vocabulary filter are not masked or removed.
language_model_name: Option<String>
The structure used to describe a custom language model.
content_redaction: Option<ContentRedaction>
Settings for content redaction within a transcription job.
language_options: Option<Vec<LanguageCode>>
When you run a call analytics job, you can specify the language spoken in the audio, or you can have Amazon Transcribe identify the language for you.
To specify a language, specify an array with one language code. If you don't know the language, you can leave this field blank and Amazon Transcribe will use machine learning to identify the language for you. To improve the ability of Amazon Transcribe to correctly identify the language, you can provide an array of the languages that can be present in the audio. Refer to Supported languages for additional information.
language_id_settings: Option<HashMap<LanguageCode, LanguageIdSettings>>
The language identification settings associated with your call analytics job. These settings include VocabularyName
, VocabularyFilterName
, and LanguageModelName
.
Implementations
sourceimpl CallAnalyticsJobSettings
impl CallAnalyticsJobSettings
sourcepub fn vocabulary_name(&self) -> Option<&str>
pub fn vocabulary_name(&self) -> Option<&str>
The name of a vocabulary to use when processing the call analytics job.
sourcepub fn vocabulary_filter_name(&self) -> Option<&str>
pub fn vocabulary_filter_name(&self) -> Option<&str>
The name of the vocabulary filter to use when running a call analytics job. The filter that you specify must have the same language code as the analytics job.
sourcepub fn vocabulary_filter_method(&self) -> Option<&VocabularyFilterMethod>
pub fn vocabulary_filter_method(&self) -> Option<&VocabularyFilterMethod>
Set to mask to remove filtered text from the transcript and replace it with three asterisks ("***") as placeholder text. Set to remove
to remove filtered text from the transcript without using placeholder text. Set to tag
to mark the word in the transcription output that matches the vocabulary filter. When you set the filter method to tag
, the words matching your vocabulary filter are not masked or removed.
sourcepub fn language_model_name(&self) -> Option<&str>
pub fn language_model_name(&self) -> Option<&str>
The structure used to describe a custom language model.
sourcepub fn content_redaction(&self) -> Option<&ContentRedaction>
pub fn content_redaction(&self) -> Option<&ContentRedaction>
Settings for content redaction within a transcription job.
sourcepub fn language_options(&self) -> Option<&[LanguageCode]>
pub fn language_options(&self) -> Option<&[LanguageCode]>
When you run a call analytics job, you can specify the language spoken in the audio, or you can have Amazon Transcribe identify the language for you.
To specify a language, specify an array with one language code. If you don't know the language, you can leave this field blank and Amazon Transcribe will use machine learning to identify the language for you. To improve the ability of Amazon Transcribe to correctly identify the language, you can provide an array of the languages that can be present in the audio. Refer to Supported languages for additional information.
sourcepub fn language_id_settings(
&self
) -> Option<&HashMap<LanguageCode, LanguageIdSettings>>
pub fn language_id_settings(
&self
) -> Option<&HashMap<LanguageCode, LanguageIdSettings>>
The language identification settings associated with your call analytics job. These settings include VocabularyName
, VocabularyFilterName
, and LanguageModelName
.
sourceimpl CallAnalyticsJobSettings
impl CallAnalyticsJobSettings
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CallAnalyticsJobSettings
Trait Implementations
sourceimpl Clone for CallAnalyticsJobSettings
impl Clone for CallAnalyticsJobSettings
sourcefn clone(&self) -> CallAnalyticsJobSettings
fn clone(&self) -> CallAnalyticsJobSettings
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 CallAnalyticsJobSettings
impl Debug for CallAnalyticsJobSettings
sourceimpl PartialEq<CallAnalyticsJobSettings> for CallAnalyticsJobSettings
impl PartialEq<CallAnalyticsJobSettings> for CallAnalyticsJobSettings
sourcefn eq(&self, other: &CallAnalyticsJobSettings) -> bool
fn eq(&self, other: &CallAnalyticsJobSettings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CallAnalyticsJobSettings) -> bool
fn ne(&self, other: &CallAnalyticsJobSettings) -> bool
This method tests for !=
.
impl StructuralPartialEq for CallAnalyticsJobSettings
Auto Trait Implementations
impl RefUnwindSafe for CallAnalyticsJobSettings
impl Send for CallAnalyticsJobSettings
impl Sync for CallAnalyticsJobSettings
impl Unpin for CallAnalyticsJobSettings
impl UnwindSafe for CallAnalyticsJobSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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