gram@lemmy.ml to Rust@programming.devEnglish · 2 years agotextdistance.rs, Rust crate with 25+ algorithms for comparing strings. Now with no_std support!github.comexternal-linkmessage-square3linkfedilinkarrow-up158arrow-down10cross-posted to: rust@programming.dev
arrow-up158arrow-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 years agomessage-square3linkfedilinkcross-posted to: rust@programming.dev
minus-squaregram@lemmy.mlOPlinkfedilinkEnglisharrow-up2·2 years 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