Text categorization as an information retrieval task