pub struct Trainer<P> { /* private fields */ }
Expand description
A trainer will build data about abbreviations, sentence starters, collocations, and context that tokens appear in. The data is used by the sentence tokenizer to determine if a period is likely part of an abbreviation, or actually marks the termination of a sentence.
Implementations§
Auto Trait Implementations§
impl<P> Freeze for Trainer<P>
impl<P> RefUnwindSafe for Trainer<P>where
P: RefUnwindSafe,
impl<P> Send for Trainer<P>where
P: Send,
impl<P> Sync for Trainer<P>where
P: Sync,
impl<P> Unpin for Trainer<P>where
P: Unpin,
impl<P> UnwindSafe for Trainer<P>where
P: UnwindSafe,
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