[−][src]Struct simple_ml::StringToMatch
Fields
string1: String
string2: String
Implementations
impl StringToMatch
[src]
pub fn compare_percentage(
&self,
weightage_for_position: f64,
weightage_for_presence: f64
) -> f64
[src]
&self,
weightage_for_position: f64,
weightage_for_presence: f64
) -> f64
pub fn clean_string(s1: String) -> String
[src]
pub fn compare_chars(&self) -> f64
[src]
pub fn compare_position(&self) -> f64
[src]
pub fn fuzzy_subset(&self, n_gram: usize) -> f64
[src]
pub fn split_alpha_numericals(string: String) -> (String, String)
[src]
pub fn char_count(string: String) -> BTreeMap<char, u32>
[src]
pub fn frequent_char(string: String) -> char
[src]
pub fn char_replace(
string: String,
find: char,
replace: String,
operation: &str
) -> String
[src]
string: String,
find: char,
replace: String,
operation: &str
) -> String
Auto Trait Implementations
impl RefUnwindSafe for StringToMatch
impl Send for StringToMatch
impl Sync for StringToMatch
impl Unpin for StringToMatch
impl UnwindSafe for StringToMatch
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,