[Rails] Re: extract keywords from string

2009-08-24 Thread Jason Stewart
On Aug 24, 12:48 am, "s.ross" wrote: > On Aug 23, 2009, at 7:44 PM, Alpha Blue wrote: > > > > > If you are doing html parsing, you'll want to look into hpricot. > > >http://juixe.com/techknow/index.php/2008/05/19/using-hpricot/ > > > There are a few parsers out there, I've written a couple myself

[Rails] Re: extract keywords from string

2009-08-23 Thread s.ross
On Aug 23, 2009, at 7:44 PM, Alpha Blue wrote: > > If you are doing html parsing, you'll want to look into hpricot. > > http://juixe.com/techknow/index.php/2008/05/19/using-hpricot/ > > There are a few parsers out there, I've written a couple myself. > -- Many people are leaning toward Nokogir

[Rails] Re: extract keywords from string

2009-08-23 Thread Alpha Blue
If you are doing html parsing, you'll want to look into hpricot. http://juixe.com/techknow/index.php/2008/05/19/using-hpricot/ There are a few parsers out there, I've written a couple myself. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You re

[Rails] Re: extract keywords from string

2009-08-23 Thread Jeffrey L. Taylor
Quoting dino d. : > > hi - > > i have strings that i need to extract keywords from. the string might > have html tags, urls, etc. i need to extract the keywords from the > string. i imagine i'm not the first guy to have to tackle this > problem. is there a gem i can use or anyone have any id

[Rails] Re: extract keywords from string

2009-08-23 Thread dinoD
Jeff- thanks for the reply. i can deal with context in a different method, in your solution, i still grab "" and "test." and "&wow*&&" as keywords. i want to send this method a string, and get an array of letter-only words returned. if you have context ideas, i'd love to hear those too, but th