Query-sensitive similarity measures for the calculation of interdocument relationships