Support for per-document word probabilities.