using latent semantic indexing, word co-occurrences or synonym relations using a word ontology have been shown not very effective.
when to extend the similarity function external prior knowledge is used, e.g.