[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Trivial search engine anatomy (4ruby

dave

6/22/2005 11:55:00 AM



hy,

I would create a little and trivial _local_ search engine in ruby
and for ruby.

The first problem i have met is in special chars like spaces or ".

I.e:
hello world
"hello world"
"hello world\""
"hello world\\\""
and so on!

I can code it by hand but i plain to expand this set to
a more coplex language incuding operators and functions like:
hello and world
hello or (world and ruby)

inobj.name:hello
inobj.name:"hello world"

eval:"obj.class == String"


Are there any libraries, documents that can help me in this job.


thank you, very much!


--
>here are more things in heaven and earth,
horatio, than are dreamt of in your philosophy.


2 Answers

Gene Tani

6/23/2005 6:45:00 PM

0

there's a few to get over the initial stemming/stopwords type issues:

http://gonzui.source...

http://rubyforge.org/pro...

also ruby_odeum, clindex, and the bayesian/LSI classifier:

http://rubyforge.org/projects/c...

dave

6/24/2005 3:32:00 PM

0



Thank you!

--
>here are more things in heaven and earth,
horatio, than are dreamt of in your philosophy.