The hierarchical clustering and confusion classification are used to construct a document-type hierarchical structure based on confusion matrix.The experimental results using hierarchical classification show that the performance of confusion classification excels that of hierarchical clustering,and the confusion classification improves the precision and recall of flat document classifier.