minus-squaregram@lemmy.mlOPtoRust@programming.dev•textdistance.rs, Rust crate with 25+ algorithms for comparing strings. Now with no_std support!linkfedilinkEnglisharrow-up2·24 days 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 linkfedilink
gram@lemmy.ml to Rust@programming.devEnglish · 25 days agotextdistance.rs, Rust crate with 25+ algorithms for comparing strings. Now with no_std support!plus-squaregithub.comexternal-linkmessage-square3fedilinkarrow-up148arrow-down10
arrow-up148arrow-down1external-linktextdistance.rs, Rust crate with 25+ algorithms for comparing strings. Now with no_std support!plus-squaregithub.comgram@lemmy.ml to Rust@programming.devEnglish · 25 days agomessage-square3fedilink
gram@lemmy.ml to Rust@programming.devEnglish · 25 days agoGitHub - life4/textdistance.rs: 🦀📏 Rust library to compare strings (or any sequences). 25+ algorithms, pure Rust, common interface, Unicode support.plus-squaregithub.comexternal-linkmessage-square2fedilinkarrow-up133arrow-down11
arrow-up132arrow-down1external-linkGitHub - life4/textdistance.rs: 🦀📏 Rust library to compare strings (or any sequences). 25+ algorithms, pure Rust, common interface, Unicode support.plus-squaregithub.comgram@lemmy.ml to Rust@programming.devEnglish · 25 days agomessage-square2fedilink
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