Searched refs:stepSize (Results 1 – 3 of 3) sorted by relevance
47 const float stepSize = static_cast<float>(MAX_PROBABILITY - unigramProbability) in computeProbabilityForBigram() local50 + static_cast<int>(static_cast<float>(bigramProbability + 1) * stepSize); in computeProbabilityForBigram()
617 final float stepSize = in getBigramFrequencyDiff() local620 final float firstStepStart = 1 + unigramFrequency + (stepSize / 2.0f); in getBigramFrequencyDiff()621 final int discretizedFrequency = (int)((bigramFrequency - firstStepStart) / stepSize); in getBigramFrequencyDiff()
287 final float stepSize = (FormatSpec.MAX_TERMINAL_FREQUENCY - unigramFrequency) in reconstructBigramFrequency() local289 final float resultFreqFloat = unigramFrequency + stepSize * (bigramFrequency + 1.0f); in reconstructBigramFrequency()