Maximum entropy, weight of evidence and information retrieval