A correspondence repair algorithm based on word sense disambiguation and upper ontologies