According to [EMAIL PROTECTED]:
>        I've fixed the problem with the following two liner at
> the end of WordType::Normalize:
> 
>   //
>   // Reject if listed in config[bad_word_list]
>   //
>   if(badwords.Exists(word))
>     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
bit.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
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 PROTECTED] 
You will receive a message to confirm this. 

Reply via email to