namazu-users-en
[Top] [All Lists]

Re: namazu & synonyms - attached patch

2002-03-17 23:03:29
Here's the patch for the synonyms and stop-list code.

Before you run it, you MUST make the synonym and stop-list files, even 
if they are empty.  They MUST be in the same directory as the index 
files.  If you have multiple indexes, the files must be in each of these 
directories (you can make symlinks).

The files are of the format:

stopwords.txt:
list
of
words
that
should
be
ignored
one
word
on
a
line

synonyms.txt:
WordToReplace what to replace with
ThisIsOneWord This can be anything
Word    /even a regex/

if you are interested, I can send my stopwords.txt and synonyms.txt as 
examples.

Philip

-- 
Technology is dominated by those who manage what they do not understand.

Attachment: nmz-2.0.10-synonym-patch.gz
Description: GNU Zip compressed data

<Prev in Thread] Current Thread [Next in Thread>