python-bayes-redis
python-bayes-redis copied to clipboard
max_str_len is actually the minimum string length
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.