tags:

views:

158

answers:

1

Im writing a php script to compare the similarity of 2 strings. This works pretty good at the moment, but what I would like to do is match words when one is a synonym of the first.

Any thoughts?

A: 

You might want to try looking for a thesaurus service that allows you to query the synonyms for a word and have it return an XML list of synonyms.

Here is something to look at: http://nbii-thesaurus.ornl.gov/thesaurus/

George Edison
I think using a service that is offered is a good start.
Anthony Forloney
@Anthony: What do you mean by that?
George Edison
I meant to say that I believe your idea is good, and went to add that using your idea is a good start.
Anthony Forloney