private int quantize(long x){
  return 1 + (int)Math.floor(Math.log(x) / Math.log(quantizationBase));
}

private int quantize ( long x ) { return 1 + ( int ) Math . floor ( Math . log ( x ) / Math . log ( quantizationBase ) ) ; }
logarithmically quantizes raw counts . the quantization scheme is described in talbot and osborne ' s paper " tera - scale lms on the cheap . "
