Skip to main content.
home | support | download

Back to List Archive

RE: new version of swish-e-1.3.2-PHRASE (m)

From: <Rainer.Scherg(at)>
Date: Thu Jun 15 2000 - 11:00:18 GMT
Hi Jose!

I tried and compiled the new version.
filtera are working fine so far.

Just a remark to the code (file.c):

       else if ((c = (char *) lstrstr(line, "FileFilter"))) {
                c += strlen("FileFilter");
                if(sl && sl->n==2) { 
                    filterlist = (struct filter *)
                } else progerr("FileFilter requires two values");

the c += strlen ("FileFilter") is obsolete, because your routine
parse_line() does the job already. You just have to pass
sl->word[1] and sl->word[2] (and of course check sl->n ==3)
(a slight optinmization).

I would like to include another feature into swish-e
(not yet coded). swish-e only supports a standard list of
stop words. Stopwords of other langues are to be defined in the
config file. This is IMO to complicated if you got a lot of stopwords.

I would like to propose the following directive:

      IgnoreWords   SwishDefault
      IgnoreWords   <word> [<word> ...]
new:  IgnoreWords   File: <path-to-stop-word-file>

path contains a file with stop words (separated by whitespaces).
So swish could provide default stopword files for English, German,
French, Spanish, etc. etc..

Any remarks to this?

cu - rainer

-----Original Message-----
From: Jose Manuel Ruiz []
Sent: Thursday, June 15, 2000 9:58 AM
Subject: Re: [SWISH-E] RE: new version of swish-e-1.3.2-PHRASE (m)


Sorry for the delay but I went home before receiving your last
two messages. wrote:
> 8-/

This Mail has been checked for Viruses
Attention: Encrypted Mails can NOT be checked !

* * *

Diese Mail wurde auf Viren ueberprueft
Hinweis: Verschluesselte Mails koennen NICHT geprueft werden !
Received on Thu Jun 15 07:04:22 2000