Struct aws_sdk_transcribe::types::MedicalScribeSettings
source · #[non_exhaustive]pub struct MedicalScribeSettings {
pub show_speaker_labels: Option<bool>,
pub max_speaker_labels: Option<i32>,
pub channel_identification: Option<bool>,
pub vocabulary_name: Option<String>,
pub vocabulary_filter_name: Option<String>,
pub vocabulary_filter_method: Option<VocabularyFilterMethod>,
}
Expand description
Makes it possible to control how your Medical Scribe job is processed using a MedicalScribeSettings
object. Specify ChannelIdentification
if ChannelDefinitions
are set. Enabled ShowSpeakerLabels
if ChannelIdentification
and ChannelDefinitions
are not set. One and only one of ChannelIdentification
and ShowSpeakerLabels
must be set. If ShowSpeakerLabels
is set, MaxSpeakerLabels
must also be set. Use Settings
to specify a vocabulary or vocabulary filter or both using VocabularyName
, VocabularyFilterName
. VocabularyFilterMethod
must be specified if VocabularyFilterName
is set.
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.show_speaker_labels: Option<bool>
Enables speaker partitioning (diarization) in your Medical Scribe output. Speaker partitioning labels the speech from individual speakers in your media file.
If you enable ShowSpeakerLabels
in your request, you must also include MaxSpeakerLabels
.
For more information, see Partitioning speakers (diarization).
max_speaker_labels: Option<i32>
Specify the maximum number of speakers you want to partition in your media.
Note that if your media contains more speakers than the specified number, multiple speakers are treated as a single speaker.
If you specify the MaxSpeakerLabels
field, you must set the ShowSpeakerLabels
field to true.
channel_identification: Option<bool>
Enables channel identification in multi-channel audio.
Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.
For more information, see Transcribing multi-channel audio.
vocabulary_name: Option<String>
The name of the custom vocabulary you want to include in your Medical Scribe request. Custom vocabulary names are case sensitive.
vocabulary_filter_name: Option<String>
The name of the custom vocabulary filter you want to include in your Medical Scribe request. Custom vocabulary filter names are case sensitive.
Note that if you include VocabularyFilterName
in your request, you must also include VocabularyFilterMethod
.
vocabulary_filter_method: Option<VocabularyFilterMethod>
Specify how you want your custom vocabulary filter applied to your transcript.
To replace words with ***
, choose mask
.
To delete words, choose remove
.
To flag words without changing them, choose tag
.
Implementations§
source§impl MedicalScribeSettings
impl MedicalScribeSettings
sourcepub fn show_speaker_labels(&self) -> Option<bool>
pub fn show_speaker_labels(&self) -> Option<bool>
Enables speaker partitioning (diarization) in your Medical Scribe output. Speaker partitioning labels the speech from individual speakers in your media file.
If you enable ShowSpeakerLabels
in your request, you must also include MaxSpeakerLabels
.
For more information, see Partitioning speakers (diarization).
sourcepub fn max_speaker_labels(&self) -> Option<i32>
pub fn max_speaker_labels(&self) -> Option<i32>
Specify the maximum number of speakers you want to partition in your media.
Note that if your media contains more speakers than the specified number, multiple speakers are treated as a single speaker.
If you specify the MaxSpeakerLabels
field, you must set the ShowSpeakerLabels
field to true.
sourcepub fn channel_identification(&self) -> Option<bool>
pub fn channel_identification(&self) -> Option<bool>
Enables channel identification in multi-channel audio.
Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.
For more information, see Transcribing multi-channel audio.
sourcepub fn vocabulary_name(&self) -> Option<&str>
pub fn vocabulary_name(&self) -> Option<&str>
The name of the custom vocabulary you want to include in your Medical Scribe request. Custom vocabulary names are case sensitive.
sourcepub fn vocabulary_filter_name(&self) -> Option<&str>
pub fn vocabulary_filter_name(&self) -> Option<&str>
The name of the custom vocabulary filter you want to include in your Medical Scribe request. Custom vocabulary filter names are case sensitive.
Note that if you include VocabularyFilterName
in your request, you must also include VocabularyFilterMethod
.
sourcepub fn vocabulary_filter_method(&self) -> Option<&VocabularyFilterMethod>
pub fn vocabulary_filter_method(&self) -> Option<&VocabularyFilterMethod>
Specify how you want your custom vocabulary filter applied to your transcript.
To replace words with ***
, choose mask
.
To delete words, choose remove
.
To flag words without changing them, choose tag
.
source§impl MedicalScribeSettings
impl MedicalScribeSettings
sourcepub fn builder() -> MedicalScribeSettingsBuilder
pub fn builder() -> MedicalScribeSettingsBuilder
Creates a new builder-style object to manufacture MedicalScribeSettings
.
Trait Implementations§
source§impl Clone for MedicalScribeSettings
impl Clone for MedicalScribeSettings
source§fn clone(&self) -> MedicalScribeSettings
fn clone(&self) -> MedicalScribeSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MedicalScribeSettings
impl Debug for MedicalScribeSettings
source§impl PartialEq for MedicalScribeSettings
impl PartialEq for MedicalScribeSettings
source§fn eq(&self, other: &MedicalScribeSettings) -> bool
fn eq(&self, other: &MedicalScribeSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MedicalScribeSettings
Auto Trait Implementations§
impl Freeze for MedicalScribeSettings
impl RefUnwindSafe for MedicalScribeSettings
impl Send for MedicalScribeSettings
impl Sync for MedicalScribeSettings
impl Unpin for MedicalScribeSettings
impl UnwindSafe for MedicalScribeSettings
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more