question: private int quantize ( long x ) { return 1 + ( int ) Math . floor ( Math . log ( x ) / Math . log ( quantizationBase ) ) ; }
target:  Logarithmically quantizes raw counts. The quantization scheme is described in Talbot and Osborne's paper "Tera-Scale LMs on the Cheap."