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-up157arrow-down10cross-posted to: rust@programming.dev
arrow-up157arrow-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: rust@programming.dev
minus-squaregram@lemmy.mlOPlinkfedilinkEnglisharrow-up2·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