word frequency added in spam.py