1. A method for generating a feature from a hierarchy of documents, the method comprising: providing a hierarchical organization of the documents; generating a feature for each of the documents in the hierarchy; and generating an aggregate feature from the generated features of the documents to represent the feature for the hierarchy of documents.