python-bayes-redis icon indicating copy to clipboard operation
python-bayes-redis copied to clipboard

max_str_len is actually the minimum string length

Open kbyanc opened this issue 9 years ago • 0 comments

The max_str_len ivar is referenced by clean_keywords() to filter out words shorter than the specified number of characters, meaning that it actually holds the minimum string length used by the classifier. I suggest the variable be renamed to min_str_len to reflect its actual usage.

kbyanc avatar Aug 30 '16 23:08 kbyanc