gram@lemmy.ml to Rust@programming.devEnglish · 2 months agotextdistance.rs, Rust crate with 25+ algorithms for comparing strings. Now with no_std support!github.comexternal-linkmessage-square3fedilinkarrow-up11arrow-down10cross-posted to: [email protected]
arrow-up11arrow-down1external-linktextdistance.rs, Rust crate with 25+ algorithms for comparing strings. Now with no_std support!github.comgram@lemmy.ml to Rust@programming.devEnglish · 2 months agomessage-square3fedilinkcross-posted to: [email protected]
minus-squaregram@lemmy.mlOPlinkfedilinkEnglisharrow-up0·2 months agoIn Python version, pass the list of words directly into the algorithm, and it will compare words. In Rust version, use Algorithm.for_words: https://docs.rs/textdistance/1.1.0/textdistance/trait.Algorithm.html#method.for_words
In Python version, pass the list of words directly into the algorithm, and it will compare words. In Rust version, use Algorithm.for_words:
https://docs.rs/textdistance/1.1.0/textdistance/trait.Algorithm.html#method.for_words