Forum Moderators: coopster

Message Too Old, No Replies

generating synonyms

         

derek mcgilvray

8:22 am on Nov 4, 2006 (gmt 0)

10+ Year Member



Hi folks,

How can I use php to generate synonyms for keywords entered into a html form?

I imagine the kind of thing I'm after would work the same as the google keyword suggester. I've searched lots of places but cannot find. Any suggestions?

Derek

coopster

11:00 pm on Nov 6, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Good question! I suppose the first start might be a search for "synonym dictionary" or "synonym database", "synonym table" or something along those lines. Anybody else ever hear of a freebie on this one? I came across something at Princeton University ("wordnet") that looked like a possibility.

derek mcgilvray

4:31 pm on Nov 11, 2006 (gmt 0)

10+ Year Member



Thanks for that Coopster, I've been at it for a while now and I've managed to direct my users to a dictionary site by using the form:

<form name="form1" method="post" action="http://wordnet.princeton.edu/perl/webwn">
<input type="hidden" name="c" value="0">
<input type="hidden" name="s" value="widgets">
<input type="hidden" name="destination" value="../colors.php">
</form>
<script>document.form1.submit();</script>

My next question is this - is there a way to take those results back to my site, rather than remaining on the dictionary site? I'd be grateful for any help on this,

Derek

rebelde

10:19 pm on Nov 11, 2006 (gmt 0)

10+ Year Member



Derek, If you click two or three times on that WordNet site, you might find your answer.