dbTalk Databases Forums  

0 results found. Did you mean "***"?

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss 0 results found. Did you mean "***"? in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Marten Lehmann
 
Posts: n/a

Default 0 results found. Did you mean "***"? - 02-11-2008 , 01:10 PM






Hello,

some weeks ago I asked for a fuzzy string search. Someone posted an
example using Oracle Text.

Now I'm interested in a similar, but technically different thing:
Instead of searching fuzzy, I would like to strictly search for the
words given, but optionally present similar items.

I guess everyone has seen this before at google.com: Try a search for
"oskar wilde" and google will respond with:

"Did you mean: oscar wilde"

How can I do this with Oracle Text (any anyway else without having to
invent the logic behind it completey from scratch)?

Regards
Marten

Reply With Quote
  #2  
Old   
Frank van Bortel
 
Posts: n/a

Default Re: 0 results found. Did you mean "***"? - 02-12-2008 , 07:17 AM






On Feb 11, 8:10 pm, Marten Lehmann <lehmannmap... (AT) cnm (DOT) de> wrote:
Quote:
Hello,

some weeks ago I asked for a fuzzy string search. Someone posted an
example using Oracle Text.

Now I'm interested in a similar, but technically different thing:
Instead of searching fuzzy, I would like to strictly search for the
words given, but optionally present similar items.

I guess everyone has seen this before at google.com: Try a search for
"oskar wilde" and google will respond with:

"Did you mean: oscar wilde"

How can I do this with Oracle Text (any anyway else without having to
invent the logic behind it completey from scratch)?

Regards
Marten
Similar results: that would be fuzzy after all...
Guess you have to compare the number of exact matches to
the number of fuzzy matches. If fuzzy matching deliveres
a magnitude larger results than exact, it might be a good
idea to question the input and offer the fuzzy match as
alternative.


Reply With Quote
  #3  
Old   
Frank van Bortel
 
Posts: n/a

Default Re: 0 results found. Did you mean "***"? - 02-12-2008 , 07:17 AM



On Feb 11, 8:10 pm, Marten Lehmann <lehmannmap... (AT) cnm (DOT) de> wrote:
Quote:
Hello,

some weeks ago I asked for a fuzzy string search. Someone posted an
example using Oracle Text.

Now I'm interested in a similar, but technically different thing:
Instead of searching fuzzy, I would like to strictly search for the
words given, but optionally present similar items.

I guess everyone has seen this before at google.com: Try a search for
"oskar wilde" and google will respond with:

"Did you mean: oscar wilde"

How can I do this with Oracle Text (any anyway else without having to
invent the logic behind it completey from scratch)?

Regards
Marten
Similar results: that would be fuzzy after all...
Guess you have to compare the number of exact matches to
the number of fuzzy matches. If fuzzy matching deliveres
a magnitude larger results than exact, it might be a good
idea to question the input and offer the fuzzy match as
alternative.


Reply With Quote
  #4  
Old   
Frank van Bortel
 
Posts: n/a

Default Re: 0 results found. Did you mean "***"? - 02-12-2008 , 07:17 AM



On Feb 11, 8:10 pm, Marten Lehmann <lehmannmap... (AT) cnm (DOT) de> wrote:
Quote:
Hello,

some weeks ago I asked for a fuzzy string search. Someone posted an
example using Oracle Text.

Now I'm interested in a similar, but technically different thing:
Instead of searching fuzzy, I would like to strictly search for the
words given, but optionally present similar items.

I guess everyone has seen this before at google.com: Try a search for
"oskar wilde" and google will respond with:

"Did you mean: oscar wilde"

How can I do this with Oracle Text (any anyway else without having to
invent the logic behind it completey from scratch)?

Regards
Marten
Similar results: that would be fuzzy after all...
Guess you have to compare the number of exact matches to
the number of fuzzy matches. If fuzzy matching deliveres
a magnitude larger results than exact, it might be a good
idea to question the input and offer the fuzzy match as
alternative.


Reply With Quote
  #5  
Old   
Frank van Bortel
 
Posts: n/a

Default Re: 0 results found. Did you mean "***"? - 02-12-2008 , 07:17 AM



On Feb 11, 8:10 pm, Marten Lehmann <lehmannmap... (AT) cnm (DOT) de> wrote:
Quote:
Hello,

some weeks ago I asked for a fuzzy string search. Someone posted an
example using Oracle Text.

Now I'm interested in a similar, but technically different thing:
Instead of searching fuzzy, I would like to strictly search for the
words given, but optionally present similar items.

I guess everyone has seen this before at google.com: Try a search for
"oskar wilde" and google will respond with:

"Did you mean: oscar wilde"

How can I do this with Oracle Text (any anyway else without having to
invent the logic behind it completey from scratch)?

Regards
Marten
Similar results: that would be fuzzy after all...
Guess you have to compare the number of exact matches to
the number of fuzzy matches. If fuzzy matching deliveres
a magnitude larger results than exact, it might be a good
idea to question the input and offer the fuzzy match as
alternative.


Reply With Quote
  #6  
Old   
Marten Lehmann
 
Posts: n/a

Default Re: 0 results found. Did you mean "***"? - 02-12-2008 , 12:52 PM



Quote:
Guess you have to compare the number of exact matches to
the number of fuzzy matches.
Well, but how do I find out the fuzzy matches? How do I know that there
is "oscar" which is similar to "oskar"?

Regards
Marten


Reply With Quote
  #7  
Old   
Marten Lehmann
 
Posts: n/a

Default Re: 0 results found. Did you mean "***"? - 02-12-2008 , 12:52 PM



Quote:
Guess you have to compare the number of exact matches to
the number of fuzzy matches.
Well, but how do I find out the fuzzy matches? How do I know that there
is "oscar" which is similar to "oskar"?

Regards
Marten


Reply With Quote
  #8  
Old   
Marten Lehmann
 
Posts: n/a

Default Re: 0 results found. Did you mean "***"? - 02-12-2008 , 12:52 PM



Quote:
Guess you have to compare the number of exact matches to
the number of fuzzy matches.
Well, but how do I find out the fuzzy matches? How do I know that there
is "oscar" which is similar to "oskar"?

Regards
Marten


Reply With Quote
  #9  
Old   
Marten Lehmann
 
Posts: n/a

Default Re: 0 results found. Did you mean "***"? - 02-12-2008 , 12:52 PM



Quote:
Guess you have to compare the number of exact matches to
the number of fuzzy matches.
Well, but how do I find out the fuzzy matches? How do I know that there
is "oscar" which is similar to "oskar"?

Regards
Marten


Reply With Quote
  #10  
Old   
Frank van Bortel
 
Posts: n/a

Default Re: 0 results found. Did you mean "***"? - 02-12-2008 , 01:14 PM



Marten Lehmann wrote:
Quote:
Guess you have to compare the number of exact matches to
the number of fuzzy matches.

Well, but how do I find out the fuzzy matches? How do I know that there
is "oscar" which is similar to "oskar"?

Regards
Marten
where ... contains versus where instr(..) >0?

Or whatever fuzzy method you use... Bottom line is, you
would have to do it twice (or inspect the indexes for
near hits): once for exact matches, once for the fuzzy.

Guess it's time for OracleText internals... What does
Thomas Kyte have to say about it - did you check om
asktom.oracle.com?
--

Regards,
Frank van Bortel

Top-posting in UseNet newsgroups is one way to shut me up


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.