Struct ultra_nlp::StandardDictionary
source · [−]pub struct StandardDictionary { /* private fields */ }
Implementations
sourceimpl StandardDictionary
impl StandardDictionary
pub fn new<T: AsRef<str>, I: IntoIterator<Item = T>>(patterns: I) -> Self
pub fn new_with_tf_idf<T: AsRef<str>, I: IntoIterator<Item = (T, f64)>>(
patterns_with_tf_idf: I
) -> Self
Trait Implementations
sourceimpl Clone for StandardDictionary
impl Clone for StandardDictionary
sourcefn clone(&self) -> StandardDictionary
fn clone(&self) -> StandardDictionary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for StandardDictionary
impl Send for StandardDictionary
impl Sync for StandardDictionary
impl Unpin for StandardDictionary
impl UnwindSafe for StandardDictionary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more