On 4/6/07, David Balmain <[EMAIL PROTECTED]> wrote: > On 4/3/07, Jens Kraemer <[EMAIL PROTECTED]> wrote: > > On Tue, Apr 03, 2007 at 03:55:28AM +0200, Jin wrote: > > > <snip> > > > Yep.Now the search system is build up but maybe more features more > > > better,now customer's intension is if he input 'designpattern',there is > > > no space between design and pattern,it should dived the two words just > > > like google and provide the information of 'designpattern' and 'design > > > pattern',that is it > > > > interesting, that could be useful for analyzing german text, too - we > > have lots of composite words like this :-) > > I've already mentioned this to Jin in private, but I think the better > solution for something like this is to post-process the query if you > get very few (or zero) matches. For example you could run the query > through a spell checker that would suggest you to rewrite > 'designpattern' as 'design pattern'. I'm not sure whether the spell > checker approach would work in German or Chinese but some sort of > post-processing should do the trick. If anyone has implemented > something like this or has any good ideas I'd love to hear them.
I forgot to mention; I would guess that this is probably how Google does the same thing. -- Dave Balmain http://www.davebalmain.com/ _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

