Skip to main content.
home | support | download

Back to List Archive

Re: phrase

From: Jose Manuel Ruiz <jmruiz(at)not-real.boe.es>
Date: Mon Jun 12 2000 - 08:34:46 GMT
Bill Moseley wrote:
> 
> At 01:06 AM 06/09/00 -0700, Jose Manuel Ruiz wrote:
> >> I can't remember. Did you changes search.c to look at wordchars and ignore
> >> chars?  I lost track of what you have done.
> >>
> >Yes, I rewrite completely the code to use faster lookuptables instead of
> >sequential search in wordchars. Yo will see wordchars and ignore chars
> >sorted. This gives faster access and makes merging easier.
> 
> Hi Jose,
> 
> Does that mean if searching for "this-thing" and if "-" is NOT in
> wordcharacters that it will search for the two words "this" and "thing"?
> 
 
In the sample above, the WORD this-thing must become the PHRASE "this
thing".
Well, this will not work at this point.
Sorry, this will not work. This affect the parser. It is a little bit
more complex.
But, stripIgnoreLastChars and stripIgnoreFirstChars may work.
Anyway, let me look at the code.

Have a nice day

Jose Ruiz

jmruiz@boe.es
Received on Mon Jun 12 04:37:36 2000