Suggest alternative categories based on word used in post

Discourse already checks the post content against posts to check for similarity (to avoid duplicate topics), but does not explicitly suggest a category change.

How do you propose this would work? From a technical perspective, what should Discourse compare the content of the post against to suggest a different category?