pub struct FeatureVector24 {Show 24 fields
pub median_f0_hz: Option<f64>,
pub high_front_vowel_f1_hz: Option<f64>,
pub high_back_vowel_f2_hz: Option<f64>,
pub spectral_tilt_db_per_octave: Option<f64>,
pub cepstral_peak_prominence_db: Option<f64>,
pub foreign_accentedness_1_to_9: Option<f64>,
pub dominant_rhotic_realization: Option<String>,
pub unstressed_vowel_reduction_percent: Option<f64>,
pub high_front_vowel_f2_hz: Option<f64>,
pub low_vowel_f1_hz: Option<f64>,
pub h1_minus_h2_db: Option<f64>,
pub rhotic_f3_minus_f2_hz: Option<f64>,
pub word_initial_t_vot_ms: Option<f64>,
pub dominant_lateral_realization: Option<String>,
pub monophthongization_percent: Option<f64>,
pub vocal_gender_presentation: Option<VocalGenderPresentation>,
pub low_vowel_f2_hz: Option<f64>,
pub high_back_vowel_f1_hz: Option<f64>,
pub mean_formant_dispersion_hz: Option<f64>,
pub creaky_phonation_percent: Option<f64>,
pub hypernasality_0_to_4: Option<f64>,
pub sibilant_center_of_gravity_hz: Option<f64>,
pub consonant_cluster_reduction_percent: Option<f64>,
pub perceived_vocal_age_years: Option<f64>,
}Fields§
§median_f0_hz: Option<f64>§high_front_vowel_f1_hz: Option<f64>§high_back_vowel_f2_hz: Option<f64>§spectral_tilt_db_per_octave: Option<f64>§cepstral_peak_prominence_db: Option<f64>§foreign_accentedness_1_to_9: Option<f64>§dominant_rhotic_realization: Option<String>§unstressed_vowel_reduction_percent: Option<f64>§high_front_vowel_f2_hz: Option<f64>§low_vowel_f1_hz: Option<f64>§h1_minus_h2_db: Option<f64>§rhotic_f3_minus_f2_hz: Option<f64>§word_initial_t_vot_ms: Option<f64>§dominant_lateral_realization: Option<String>§monophthongization_percent: Option<f64>§vocal_gender_presentation: Option<VocalGenderPresentation>§low_vowel_f2_hz: Option<f64>§high_back_vowel_f1_hz: Option<f64>§mean_formant_dispersion_hz: Option<f64>§creaky_phonation_percent: Option<f64>§hypernasality_0_to_4: Option<f64>§sibilant_center_of_gravity_hz: Option<f64>§consonant_cluster_reduction_percent: Option<f64>§perceived_vocal_age_years: Option<f64>Implementations§
Source§impl FeatureVector24
impl FeatureVector24
pub fn validate(&self) -> Result<(), ValidationError>
pub fn numeric_values(&self) -> [Option<f64>; 22]
pub fn nominal_values(&self) -> [Option<&str>; 2]
pub fn present_feature_count(&self) -> u8
Trait Implementations§
Source§impl Clone for FeatureVector24
impl Clone for FeatureVector24
Source§fn clone(&self) -> FeatureVector24
fn clone(&self) -> FeatureVector24
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FeatureVector24
impl Debug for FeatureVector24
Source§impl Default for FeatureVector24
impl Default for FeatureVector24
Source§fn default() -> FeatureVector24
fn default() -> FeatureVector24
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FeatureVector24
impl<'de> Deserialize<'de> for FeatureVector24
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FeatureVector24, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FeatureVector24, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FeatureVector24
impl PartialEq for FeatureVector24
Source§impl Serialize for FeatureVector24
impl Serialize for FeatureVector24
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for FeatureVector24
Auto Trait Implementations§
impl Freeze for FeatureVector24
impl RefUnwindSafe for FeatureVector24
impl Send for FeatureVector24
impl Sync for FeatureVector24
impl Unpin for FeatureVector24
impl UnsafeUnpin for FeatureVector24
impl UnwindSafe for FeatureVector24
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