Namazu-users-en(old)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: namazu & synonyms - attached patch



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