Building Domain Ontologies and Automated Text Categorization: a contribution to NLP