pub struct TextPreprocessing {
pub lowercase: bool,
pub remove_punctuation: bool,
pub normalize_whitespace: bool,
pub remove_accents: bool,
}Expand description
Text preprocessing configuration
Fields§
§lowercase: boolConvert to lowercase
remove_punctuation: boolRemove punctuation
normalize_whitespace: boolNormalize whitespace
remove_accents: boolRemove accents
Trait Implementations§
Source§impl Clone for TextPreprocessing
impl Clone for TextPreprocessing
Source§fn clone(&self) -> TextPreprocessing
fn clone(&self) -> TextPreprocessing
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 TextPreprocessing
impl Debug for TextPreprocessing
Auto Trait Implementations§
impl Freeze for TextPreprocessing
impl RefUnwindSafe for TextPreprocessing
impl Send for TextPreprocessing
impl Sync for TextPreprocessing
impl Unpin for TextPreprocessing
impl UnwindSafe for TextPreprocessing
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