Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Matching a question in text

by arturo (Vicar)
on Jun 26, 2001 at 01:19 UTC ( [id://91448]=note: print w/replies, xml ) Need Help??


in reply to Matching a question in text

Here's a thought. Use a thesaurus. You don't just want to fuzzy match strings, you want to match *similar* words. Oracle's "Oracle Text" does this sort of thing, even comes with a built-in thesaurus (matches wider terms to narrower terms, so, e.g. "Perl" could come up on a search on "Programming language").

That should give you a start on ideas. I'm not aware of any open source alternatives, but some search engines do similar sorts of things.

Hope that helps.

perl -e 'print "How sweet does a rose smell? "; chomp ($n = <STDIN>); +$rose = "smells sweet to degree $n"; *other_name = *rose; print "$oth +er_name\n"'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://91448]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-26 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found