Package for classifying a document into a category.