Ontology Based Document Representation using Distances among Words and Concepts