Only calculate weight_document for JELINEK_MERCER_SMOOTHING