Just recently I was looking up about Levenshtein algorithm and after searching for an hour I couldn't find a javascript file like:
var dictionary =
[
'coke',
'cokeman',
'cokeney'
]
Is there a faster way to do this? I haven't found any files like this and I've heard this function is kind of slow. If I could how could I do this with php?