The massive use of e-mail, digital and web documents makes text categorization an important issue as one would rather find documents that match perfectly one's search criteria and e-mail accounts that would prevent spam successfully. The main objective of this paper is to achieve an hierarchical classification of text documents. This can be done by building a tree whose nodes will contain a set of documents which are all labelled by the same set of categories.