Struct ultra_nlp::ForwardDictionary
source · [−]pub struct ForwardDictionary { /* private fields */ }
Implementations
sourceimpl ForwardDictionary
impl ForwardDictionary
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 ForwardDictionary
impl Clone for ForwardDictionary
sourcefn clone(&self) -> ForwardDictionary
fn clone(&self) -> ForwardDictionary
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 ForwardDictionary
impl Send for ForwardDictionary
impl Sync for ForwardDictionary
impl Unpin for ForwardDictionary
impl UnwindSafe for ForwardDictionary
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