Subject: Re: [htdig3-dev] bad_word_list (continued #2)
From: Gilles Detillieux (firstname.lastname@example.org)
Date: Thu Feb 03 2000 - 12:48:24 PST
According to email@example.com:
> I've fixed the problem with the following two liner at
> the end of WordType::Normalize:
> // Reject if listed in config[bad_word_list]
> return status | WORD_NORMALIZE_BAD;
> I'm compiling and make check and then I'll commit.
The code also doesn't seem to make use of WORD_NORMALIZE_NUMBER. Does it
matter? Right now, numbers are rejected as WORD_NORMALIZE_NOALPHA if
allow_numbers is false. However, I think the individual status bits are
only checked when explaining why entries from bad_word_list are rejected.
So, I don't think there's much point to having a WORD_NORMALIZE_NUMBER
-- Gilles R. Detillieux E-mail: <firstname.lastname@example.org> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to email@example.com You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Thu Feb 03 2000 - 12:50:17 PST