Adapted Akismet module to Python 3