Similar string alert

Hi guys,
I wanted to know if there is any way, given in input a string like this is col and a text file that contains:

this is cool (a string)
not good (another string)
beautiful (another string)
etc.

all the “similar” compared with the one given in input, so in this example it would return the first string this is cool, something like when in Linux you get x was not found did you mean y?
Thanks

Levenshtein distance?
https://www.google.com/search?q=Levenshtein+golang

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.