minus-squaregram@lemmy.mlOPtoRust@programming.dev•textdistance.rs, Rust crate with 25+ algorithms for comparing strings. Now with no_std support!linkfedilinkEnglisharrow-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 linkfedilink
gram@lemmy.ml to Rust@programming.devEnglish · 2 months agotextdistance.rs, Rust crate with 25+ algorithms for comparing strings. Now with no_std support!plus-squaregithub.comexternal-linkmessage-square3fedilinkarrow-up11arrow-down10
arrow-up11arrow-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 · 2 months agomessage-square3fedilink
gram@lemmy.ml to Rust@programming.devEnglish · 2 months agoGitHub - life4/textdistance.rs: 🦀📏 Rust library to compare strings (or any sequences). 25+ algorithms, pure Rust, common interface, Unicode support.plus-squaregithub.comexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-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 · 2 months agomessage-square0fedilink
gram@lemmy.ml to Comics@lemmy.ml · 3 months agoA cool manga-inspired art we made for Firefly Zero (our in-development game console)plus-squarelemmy.mlexternal-linkmessage-square1fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkA cool manga-inspired art we made for Firefly Zero (our in-development game console)plus-squarelemmy.mlgram@lemmy.ml to Comics@lemmy.ml · 3 months agomessage-square1fedilink
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