Using PHP I fetched the friends list from facebook and twitter and I stored each list in an associative array. I have both their names and locations. I want to do comparison of both the friends from fb and twitter based on their name and location, and provide with a similarity score.
Like I want to set a threshold of about 0.7, and if the score is more that that for a person, then it means that they represent the same entity. I have used the php function similar_text but it is too basic, it is giving a 50 - 60 % match for almost every friend, as it is just based on the words in the name.
Any suggestions?