This is doing substring matching. If you had a blacklisted word like 'the', then it'd mark as spam words like 'them', 'there', 'parthenon', ... Either that should get fixed (probably by parsing the strings into tokens first) or this should be documented both in this function and also in `docs/admin/install.rst` in the configuration section.