pub struct PerplexityConfig {
pub ngram_order: usize,
pub window_size: usize,
pub min_segment_length: usize,
}Expand description
Configuration for perplexity analysis
Fields§
§ngram_order: usizeN-gram order for character perplexity
window_size: usizeWindow size for sliding analysis
min_segment_length: usizeMinimum segment length to analyze
Trait Implementations§
Source§impl Clone for PerplexityConfig
impl Clone for PerplexityConfig
Source§fn clone(&self) -> PerplexityConfig
fn clone(&self) -> PerplexityConfig
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 PerplexityConfig
impl Debug for PerplexityConfig
Auto Trait Implementations§
impl Freeze for PerplexityConfig
impl RefUnwindSafe for PerplexityConfig
impl Send for PerplexityConfig
impl Sync for PerplexityConfig
impl Unpin for PerplexityConfig
impl UnwindSafe for PerplexityConfig
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