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