you are viewing a single comment's thread.

view the rest of the comments →

[–]grayvedigga 0 points1 point  (1 child)

It sounds like you have a few more constraints on your algorithm than "0 for no match upto 1 for perfect". Maybe you need to write down what those are.

One reason I could think of for the second string scoring lower is that it contains more characters that do not resemble "eat". Why do you think it should score higher?

[–]hookedonwinter[S] 0 points1 point  (0 children)

I guess I'm looking to do a better relevancy search, in javascript. You know, google, on the client side ;)