There is a large literature on document classification and automated text categorization (Sebastiani, 2002).
that work assumes that the categories of interest are already known, and tries to assign documents to categories.