orsinium

joined 3 months ago
[โ€“] orsinium@lemmy.ml 2 points 2 months ago

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