Is there a library similar to Python's difflib on Ruby?
Particularly, I need one that has a method similar to difflib.get_close_matches. Any recommendations?
Is there a library similar to Python's difflib on Ruby?
Particularly, I need one that has a method similar to difflib.get_close_matches. Any recommendations?
After some research, I suggest using amatch or SimMetrics (with JRuby) and manually implement the get_close_matches method. Both libs offer implementations of many string similarity algorithms.