Using lexigraphical distancing, an algorithm that estimates the probability that one term is an edited version of another, can help identify variants of spam terms like "Viagra" and improve spam detection rates. The algorithm identified 51 out of 60 variants of Viagra, while spell checking only caught 24. When included as a pre-processing step in a naive Bayes classifier, it incorrectly flagged few additional good emails as spam but caught 27% more spam messages, improving spam detection rates. Lexigraphical distancing provides a robust way to identify term variants for applications like spam filtering and content analysis.