pub struct TranscriptNormalization {
pub entries: Option<Vec<Entry>>,
}Expand description
Transcription normalization configuration. Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts.
This type is not used in any activity, and only used as part of another schema.
Fields§
§entries: Option<Vec<Entry>>A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in [“cat” => “dog”, “mountain cat” => “mountain dog”] will never be applied because we will always process the first entry before it. At most 100 entries.
Trait Implementations§
Source§impl Clone for TranscriptNormalization
impl Clone for TranscriptNormalization
Source§fn clone(&self) -> TranscriptNormalization
fn clone(&self) -> TranscriptNormalization
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TranscriptNormalization
impl Debug for TranscriptNormalization
Source§impl Default for TranscriptNormalization
impl Default for TranscriptNormalization
Source§fn default() -> TranscriptNormalization
fn default() -> TranscriptNormalization
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TranscriptNormalization
impl<'de> Deserialize<'de> for TranscriptNormalization
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TranscriptNormalization
impl Serialize for TranscriptNormalization
impl Part for TranscriptNormalization
Auto Trait Implementations§
impl Freeze for TranscriptNormalization
impl RefUnwindSafe for TranscriptNormalization
impl Send for TranscriptNormalization
impl Sync for TranscriptNormalization
impl Unpin for TranscriptNormalization
impl UnwindSafe for TranscriptNormalization
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
Mutably borrows from an owned value. Read more