What did you end up doing here?
If you have unique enough keywords in the topics (I assume you are iterating through all the topic replies and counting keywords in each post), it could be viable to automatically categorize a topic based on the presence of enough unique, specific keywords in that topic.
(This is primarily useful for migrations, though, since on a live forum you’d want the topic in the correct category at the outset.)