org.clojars.punit-naik.clj-ml.utils.string

indexed-string

(indexed-string string)

match-char-to-str

(match-char-to-str edit-map-init c-pos c string)
Matches a characted `c` with all characters of `string`
Also takes in the position of char `c` i.e. `c-pos` in it's original string
And an `edit-map` initial value from previous stages

match-strings

(match-strings s1 s2)
Matches two strings `s1` and `s2` and finds out their `edit distance` and `similarity`

reversed-levenstein-distance

(reversed-levenstein-distance s1 s2)
Finds out the revered levenstein distance (percentage of match)
between two strings `s1` and `s2` by normalising the edit distance