Home | History | Annotate | Download | only in i18n

Lines Matching refs:quality

30  * @return match quality, in the range of 0-100.
39 int32_t quality;
84 // Initial quality is based on relative proportion of recongized vs.
86 // All good: quality = 100;
87 // half or less good: quality = 0;
89 quality = (100*hits - 100*misses) / (hits + misses);
91 // Back off quality if there were too few escape sequences seen.
95 quality -= (5-(hits+shifts))*10;
98 if (quality < 0) {
99 quality = 0;
102 return quality;