# Keyword searches

**URL:** <https://www.ruby-forum.com/t/keyword-searches/107584>\
**Category:** Rails\
**Created:** [June 23, 2007, 6:26pm UTC](https://www.ruby-forum.com/t/keyword-searches/107584 "2007-06-23T18:26:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hotgazpacho](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/a587f6/32.png) [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Post date:** [June 23, 2007, 6:26pm UTC](https://www.ruby-forum.com/t/keyword-searches/107584/1 "2007-06-23T18:26:21Z")

</div>

Hello all,  
I need to add functionality to a small ROR site that will take a keyword  
as input and then use google (or another search engine) to find similar  
phrases. So, for instance, if I searched for “soda”, it would return  
“Coke, Pepsi, Cola, soft drink”, etc. Anybody have any idea how to start  
on this one? I thought Google had some sort of related keyword-type  
search a few years back, but I can’t seem to find it.

* * *

Get the Yahoo! toolbar and be alerted to new email wherever you’re  
surfing.

---

<div class="post-metadata">

**Author:** ![hotgazpacho](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/a587f6/32.png) [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Post date:** [June 24, 2007, 3:01am UTC](https://www.ruby-forum.com/t/keyword-searches/107584/2 "2007-06-24T03:01:12Z")

</div>

Will G. wrote:

> Hello all,  
> I need to add functionality to a small ROR site that will take a keyword  
> as input and then use google (or another search engine) to find similar  
> phrases. So, for instance, if I searched for “soda”, it would return  
> “Coke, Pepsi, Cola, soft drink”, etc. Anybody have any idea how to start  
> on this one? I thought Google had some sort of related keyword-type  
> search a few years back, but I can’t seem to find it.

Not sure if this will work with just a keyword (and not a block of  
text), but maybe the Yahoo term extractor API?  
[http://nate.koechley.com/blog/2006/01/17/most-underrated-api-the-yahoo-term-extractor/](http://nate.koechley.com/blog/2006/01/17/most-underrated-api-the-yahoo-term-extractor/)

Let us know when you figure something out. Would be useful to expand the  
results of a fulltext search, for example.

Chris K.  
[http://kampers.net](http://kampers.net)

---

<div class="post-metadata">

**Author:** ![hotgazpacho](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/a587f6/32.png) [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Post date:** [June 25, 2007, 5:43am UTC](https://www.ruby-forum.com/t/keyword-searches/107584/3 "2007-06-25T05:43:36Z")

</div>

This might be useful:

[http://agilewebdevelopment.com/plugins/acts\_as\_suggest](http://agilewebdevelopment.com/plugins/acts_as_suggest)

–  
Benjamin C.  
[http://www.bencurtis.com/](http://www.bencurtis.com/) – blog  
[http://agilewebdevelopment.com/rails-ecommerce](http://agilewebdevelopment.com/rails-ecommerce) – build e-commerce  
sites with Rails
