D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] word similarities



Neil Williams wrote:
I've been googling for this most of the morning but I can't find what I want. I thought it was Leishman.

What is the method for detecting similarities between words?

If I have a string:

My test account

How do I calculate the similarity with this string:

My testing account

and the dis-similarity with this string:

My other account


This will need to be in C.


I sometimes use code I borrowed from here to do something similar:
http://www.codeguru.com/Cpp/Cpp/algorithms/strings/article.php/c5097

That said, you probably already know this one and I'm not sure it's exactly what you're looking for.

Carl


-- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.



Lynx friendly